com.restfb
Class FacebookException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.restfb.FacebookException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FacebookGraphException, FacebookJsonMappingException, FacebookNetworkException, FacebookResponseStatusException

public abstract class FacebookException
extends Exception

Root of the RestFB checked exception hierarchy.

Author:
Mark Allen
See Also:
Serialized Form

Constructor Summary
FacebookException(String message)
          Creates an exception with the given message.
FacebookException(String message, Throwable cause)
          Creates an exception with the given message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacebookException

public FacebookException(String message)
Creates an exception with the given message.

Parameters:
message - A message describing this exception.

FacebookException

public 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.


RestFB version 1.5.3. Copyright © 2010 Mark Allen. All Rights Reserved.