com.veriplace.oauth
Class OAuthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.veriplace.oauth.OAuthException
All Implemented Interfaces:
java.io.Serializable

public class OAuthException
extends java.lang.Exception

General purpose exception class.

See Also:
Serialized Form

Constructor Summary
OAuthException(int code, java.lang.String reason)
           
OAuthException(int code, java.lang.String reason, Problem problem)
           
OAuthException(java.lang.String reason)
           
OAuthException(java.lang.String reason, java.lang.Exception e)
           
 
Method Summary
 java.lang.Integer getCode()
           
 Problem getProblem()
           
 
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

OAuthException

public OAuthException(java.lang.String reason)

OAuthException

public OAuthException(java.lang.String reason,
                      java.lang.Exception e)

OAuthException

public OAuthException(int code,
                      java.lang.String reason)

OAuthException

public OAuthException(int code,
                      java.lang.String reason,
                      Problem problem)
Method Detail

getCode

public java.lang.Integer getCode()

getProblem

public Problem getProblem()