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
ConstructorDescriptionMacaroonEncodingException
(String message) Constructs theMacaroonEncodingException
with the given detail message.MacaroonEncodingException
(String message, Throwable cause) Constructs theMacaroonEncodingException
with the given detail message and cause.Constructs theMacaroonEncodingException
with 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 theMacaroonEncodingException
with the given detail message.- Parameters:
message
- the detail message.
-
MacaroonEncodingException
Constructs theMacaroonEncodingException
with the given detail message and cause.- Parameters:
message
- the detail message.cause
- the cause of the exception.
-
MacaroonEncodingException
Constructs theMacaroonEncodingException
with the given cause.- Parameters:
cause
- the cause of the exception.
-