public class OAuthRequestException extends Exception
| Constructor and Description |
|---|
OAuthRequestException(OAuthError error)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(OAuthError error,
String errorText)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(OAuthError error,
String errorText,
Throwable cause)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(String message)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(String error,
String errorText)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(String error,
String errorText,
Throwable cause)
Create an exception and record information about the exception to be returned to the gadget.
|
OAuthRequestException(String message,
Throwable cause)
Create an exception and record information about the exception to be returned to the gadget.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getError()
Get the error code
|
String |
getErrorText()
Get a meaningful description of the exception
|
String |
getMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OAuthRequestException(OAuthError error)
error - public OAuthRequestException(OAuthError error, String errorText)
error - errorText - public OAuthRequestException(OAuthError error, String errorText, Throwable cause)
error - errorText - cause - public OAuthRequestException(String error, String errorText)
error - errorText - public OAuthRequestException(String error, String errorText, Throwable cause)
error - errorText - cause - public OAuthRequestException(String message)
message - public String getError()
public String getErrorText()
public String getMessage()
getMessage in class ThrowableCopyright © 2007-2012. All Rights Reserved.