Package org.forgerock.openam.sts
Class TokenCancellationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.forgerock.json.resource.ResourceException
-
- org.forgerock.openam.sts.TokenCancellationException
-
- All Implemented Interfaces:
Serializable,org.forgerock.json.resource.Response
public class TokenCancellationException extends org.forgerock.json.resource.ResourceExceptionException thrown by the TokenServiceConsumer#cancelToken method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenCancellationException(int code, String message)Constructs an exception with the given error code and detail message.TokenCancellationException(int code, String message, Throwable cause)Constructs an exception with the given error code, detail message and underlying cause.
-
Method Summary
-
Methods inherited from class org.forgerock.json.resource.ResourceException
asPromise, getCode, getDetail, getException, getException, getException, getReason, getResourceApiVersion, includeCauseInJsonValue, isServerError, newResourceException, newResourceException, newResourceException, setDetail, setReason, setResourceApiVersion, toJsonValue
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TokenCancellationException
public TokenCancellationException(int code, String message)Constructs an exception with the given error code and detail message.
-
-