Package com.restfb.exception
Class FacebookException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.restfb.exception.FacebookException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FacebookErrorMessageException
,FacebookJsonMappingException
,FacebookLoggerException
,FacebookNetworkException
,FacebookPreconditionException
,FacebookResponseContentException
,FacebookSignedRequestParsingException
,FacebookSignedRequestVerificationException
public abstract class FacebookException extends RuntimeException
Root of the RestFB exception hierarchy.- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FacebookException(String message)
Creates an exception with the given message.protected
FacebookException(String message, Throwable cause)
Creates an exception with the given message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FacebookException
protected FacebookException(String message)
Creates an exception with the given message.- Parameters:
message
- A message describing this exception.
-
FacebookException
protected FacebookException(String message, Throwable cause)
Creates an exception with the given message and cause.- Parameters:
message
- A message describing this exception.cause
- The exception that caused this exception to be thrown.
-
-