com.veriplace.client
Class VeriplaceOAuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.veriplace.client.VeriplaceException
com.veriplace.client.UnexpectedException
com.veriplace.client.VeriplaceOAuthException
- All Implemented Interfaces:
- java.io.Serializable
public class VeriplaceOAuthException
- extends UnexpectedException
Wrapper for an OAuthException when it is thrown from within
a Veriplace client method.
- Since:
- 2.0
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
cause
protected final OAuthException cause
VeriplaceOAuthException
public VeriplaceOAuthException(OAuthException cause)
VeriplaceOAuthException
public VeriplaceOAuthException(int code,
java.lang.String message)
getCode
public int getCode()
- Returns the result code of the underlying OAuth exception.
getCause
public OAuthException getCause()
- Overrides:
getCause in class java.lang.Throwable