com.veriplace.client
Class VeriplaceOAuthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.veriplace.client.VeriplaceException
              extended by com.veriplace.client.UnexpectedException
                  extended by 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

Field Summary
protected  OAuthException cause
           
 
Constructor Summary
VeriplaceOAuthException(int code, java.lang.String message)
           
VeriplaceOAuthException(OAuthException cause)
           
 
Method Summary
 OAuthException getCause()
           
 int getCode()
          Returns the result code of the underlying OAuth exception.
 
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
 

Field Detail

cause

protected final OAuthException cause
Constructor Detail

VeriplaceOAuthException

public VeriplaceOAuthException(OAuthException cause)

VeriplaceOAuthException

public VeriplaceOAuthException(int code,
                               java.lang.String message)
Method Detail

getCode

public int getCode()
Returns the result code of the underlying OAuth exception.


getCause

public OAuthException getCause()
Overrides:
getCause in class java.lang.Throwable