Class JweCompressionException
- 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.JweCompressionException
-
- All Implemented Interfaces:
Serializable
public class JweCompressionException extends JweException
Represents an exception for when compression/decompression of the plaintext fails.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JweCompressionException(String message)
Constructs a new JweCompressionException with the provided exception message.JweCompressionException(String message, Throwable throwable)
Constructs a new JweCompressionException with the provided exception message and underlying throwable.JweCompressionException(Throwable throwable)
Constructs a new JweCompressionException 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
-
JweCompressionException
public JweCompressionException(String message)
Constructs a new JweCompressionException with the provided exception message.- Parameters:
message
- The exception message.
-
JweCompressionException
public JweCompressionException(String message, Throwable throwable)
Constructs a new JweCompressionException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
JweCompressionException
public JweCompressionException(Throwable throwable)
Constructs a new JweCompressionException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-
-