Package org.forgerock.macaroons
Class MacaroonEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.forgerock.macaroons.MacaroonEncodingException
- All Implemented Interfaces:
Serializable
Indicates that a macaroon is not well-formed according to a
SerializationFormat.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMacaroonEncodingException(String message) Constructs theMacaroonEncodingExceptionwith the given detail message.MacaroonEncodingException(String message, Throwable cause) Constructs theMacaroonEncodingExceptionwith the given detail message and cause.Constructs theMacaroonEncodingExceptionwith the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MacaroonEncodingException
Constructs theMacaroonEncodingExceptionwith the given detail message.- Parameters:
message- the detail message.
-
MacaroonEncodingException
Constructs theMacaroonEncodingExceptionwith the given detail message and cause.- Parameters:
message- the detail message.cause- the cause of the exception.
-
MacaroonEncodingException
Constructs theMacaroonEncodingExceptionwith the given cause.- Parameters:
cause- the cause of the exception.
-