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
public class MacaroonEncodingException extends IllegalArgumentException
Indicates that a macaroon is not well-formed according to aSerializationFormat.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MacaroonEncodingException(String message)Constructs theMacaroonEncodingExceptionwith the given detail message.MacaroonEncodingException(String message, Throwable cause)Constructs theMacaroonEncodingExceptionwith the given detail message and cause.MacaroonEncodingException(Throwable 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 Detail
-
MacaroonEncodingException
public MacaroonEncodingException(String message)
Constructs theMacaroonEncodingExceptionwith the given detail message.- Parameters:
message- the detail message.
-
MacaroonEncodingException
public MacaroonEncodingException(String message, Throwable cause)
Constructs theMacaroonEncodingExceptionwith the given detail message and cause.- Parameters:
message- the detail message.cause- the cause of the exception.
-
MacaroonEncodingException
public MacaroonEncodingException(Throwable cause)
Constructs theMacaroonEncodingExceptionwith the given cause.- Parameters:
cause- the cause of the exception.
-
-