Apache CXF API

org.apache.cxf.rs.security.oauth2.provider
Class OAuthServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException
All Implemented Interfaces:
Serializable

public class OAuthServiceException
extends RuntimeException

Encapsulates OAuth-related problems

See Also:
Serialized Form

Constructor Summary
OAuthServiceException(OAuthError error)
           
OAuthServiceException(OAuthError error, Throwable cause)
           
OAuthServiceException(String message)
           
OAuthServiceException(String message, Throwable cause)
           
 
Method Summary
 OAuthError getError()
           
 
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

OAuthServiceException

public OAuthServiceException(String message)

OAuthServiceException

public OAuthServiceException(String message,
                             Throwable cause)

OAuthServiceException

public OAuthServiceException(OAuthError error)

OAuthServiceException

public OAuthServiceException(OAuthError error,
                             Throwable cause)
Method Detail

getError

public OAuthError getError()

Apache CXF API

Apache CXF