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
Root of the RestFB exception hierarchy.
- Author:
- Mark Allen
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
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 Details
-
FacebookException
Creates an exception with the given message.- Parameters:
message
- A message describing this exception.
-
FacebookException
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.
-