Class JweEncryptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.forgerock.json.jose.exceptions.JwtRuntimeException
-
- org.forgerock.json.jose.exceptions.JweException
-
- org.forgerock.json.jose.exceptions.JweEncryptionException
-
- All Implemented Interfaces:
Serializable
public class JweEncryptionException extends JweException
Represents an exception for when encryption of the JWE fails.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JweEncryptionException(String message)
Constructs a new JweEncryptionException with the provided exception message.JweEncryptionException(String message, Throwable throwable)
Constructs a new JweEncryptionException with the provided exception message and underlying throwable.JweEncryptionException(Throwable throwable)
Constructs a new JweEncryptionException with the provided underlying throwable.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JweEncryptionException
public JweEncryptionException(String message)
Constructs a new JweEncryptionException with the provided exception message.- Parameters:
message
- The exception message.
-
JweEncryptionException
public JweEncryptionException(String message, Throwable throwable)
Constructs a new JweEncryptionException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
JweEncryptionException
public JweEncryptionException(Throwable throwable)
Constructs a new JweEncryptionException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-
-