public class OAuthException extends Exception
Constructor and Description |
---|
OAuthException(String message)
Builds an
OAuthException with a given message. |
OAuthException(String message,
Exception cause)
Builds an
OAuthException with a given message and cause. |
Modifier and Type | Method and Description |
---|---|
<V> Promise<V,OAuthException> |
asPromise()
Return this OAuthException as a Promise.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OAuthException(String message)
OAuthException
with a given message.message
- exception messagepublic OAuthException(String message, Exception cause)
OAuthException
with a given message and cause.message
- Exception's messagecause
- Exception causepublic <V> Promise<V,OAuthException> asPromise()
V
- the result value type of the promiseCopyright © 2010-2018, ForgeRock All Rights Reserved.