com.facebook
Class FacebookDialogException

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

public class FacebookDialogException
extends FacebookException

Represents an error condition relating to displaying a Facebook Web dialog.

See Also:
Serialized Form

Constructor Summary
FacebookDialogException(String message, int errorCode, String failingUrl)
          Constructs a new FacebookException.
 
Method Summary
 int getErrorCode()
          Gets the error code received by the WebView.
 String getFailingUrl()
          Gets the URL that the dialog was trying to load.
 
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

FacebookDialogException

public FacebookDialogException(String message,
                               int errorCode,
                               String failingUrl)
Constructs a new FacebookException.

Method Detail

getErrorCode

public int getErrorCode()
Gets the error code received by the WebView. See: http://developer.android.com/reference/android/webkit/WebViewClient.html

Returns:
the error code

getFailingUrl

public String getFailingUrl()
Gets the URL that the dialog was trying to load.

Returns:
the URL