com.restfb.exception
Class FacebookException

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

public abstract class FacebookException
extends RuntimeException

Root of the RestFB 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 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.