Refactoring: generalized the GraphApiErrorHandler
[facebook-errors] / src / main / java / de / juplo / facebook / errors / GraphApiException.java
index 45dd38a..ac57308 100644 (file)
@@ -11,7 +11,6 @@ import java.io.IOException;
 import java.io.InputStream;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
 
 
 
@@ -20,7 +19,7 @@ import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
  * 
  * @author Kai Moritz
  */
-public class GraphApiException extends OAuth2Exception
+public class GraphApiException extends RuntimeException
 {
   public enum Type { OAuthException, GraphMethodException }