Class OAuthServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Constructors Constructor Description OAuthServiceException()OAuthServiceException(String message)OAuthServiceException(String message, Throwable cause)OAuthServiceException(Throwable cause)OAuthServiceException(OAuthError error)OAuthServiceException(OAuthError error, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthErrorgetError()StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OAuthServiceException
public OAuthServiceException()
-
OAuthServiceException
public OAuthServiceException(String message)
-
OAuthServiceException
public OAuthServiceException(Throwable cause)
-
OAuthServiceException
public OAuthServiceException(OAuthError error)
-
OAuthServiceException
public OAuthServiceException(OAuthError error, Throwable cause)
-
-
Method Detail
-
getError
public OAuthError getError()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-