Class TokenCancellationException

  • All Implemented Interfaces:
    Serializable, org.forgerock.json.resource.Response

    public class TokenCancellationException
    extends org.forgerock.json.resource.ResourceException
    Exception thrown by the TokenServiceConsumer#cancelToken method.
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenCancellationException

        public TokenCancellationException​(int code,
                                          String message)
        Constructs an exception with the given error code and detail message.
      • TokenCancellationException

        public TokenCancellationException​(int code,
                                          String message,
                                          Throwable cause)
        Constructs an exception with the given error code, detail message and underlying cause.