WIP: Spring-Upgrade auf 2.2.0
[facebook-errors] / src / main / java / de / juplo / facebook / errors / OAuth2GraphApiErrorHandler.java
index 9158987..e83e47f 100644 (file)
@@ -6,7 +6,7 @@ import java.util.List;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.client.ClientHttpResponse;
 import org.springframework.http.converter.HttpMessageConverter;
-import org.springframework.security.oauth2.client.http.OAuth2ErrorHandler;
+import org.springframework.security.oauth2.client.http.OAuth2ErrorResponseErrorHandler;
 
 
 
@@ -14,12 +14,12 @@ import org.springframework.security.oauth2.client.http.OAuth2ErrorHandler;
  *
  * @author Kai Moritz
  */
-public class OAuth2GraphApiErrorHandler extends OAuth2ErrorHandler
+public class OAuth2GraphApiErrorHandler extends OAuth2ErrorResponseErrorHandler
 {
-  private final OAuth2ErrorHandler parent;
+  private final OAuth2ErrorResponseErrorHandler parent;
 
 
-  public OAuth2GraphApiErrorHandler(OAuth2ErrorHandler handler)
+  public OAuth2GraphApiErrorHandler(OAuth2ErrorResponseErrorHandler handler)
   {
     super(null);
     parent = handler;