com.facebook.android
Class FacebookError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.facebook.android.FacebookError
All Implemented Interfaces:
Serializable

public class FacebookError
extends RuntimeException

Encapsulation of a Facebook Error: a Facebook request that could not be fulfilled.

THIS CLASS SHOULD BE CONSIDERED DEPRECATED.

All public members of this class are intentionally deprecated. New code should instead use FacebookException

Adding @Deprecated to this class causes warnings in other deprecated classes that reference this one. That is the only reason this entire class is not deprecated.

See Also:
Serialized Form

Constructor Summary
FacebookError(String message)
          Deprecated. 
FacebookError(String message, String type, int code)
          Deprecated. 
 
Method Summary
 int getErrorCode()
          Deprecated. 
 String getErrorType()
          Deprecated. 
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacebookError

@Deprecated
public FacebookError(String message)
Deprecated. 


FacebookError

@Deprecated
public FacebookError(String message,
                                String type,
                                int code)
Deprecated. 

Method Detail

getErrorCode

@Deprecated
public int getErrorCode()
Deprecated. 


getErrorType

@Deprecated
public String getErrorType()
Deprecated.