Package com.nimbusds.jose.proc
Class BadJWEException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nimbusds.jose.proc.BadJOSEException
-
- com.nimbusds.jose.proc.BadJWEException
-
- All Implemented Interfaces:
Serializable
public class BadJWEException extends BadJOSEException
Bad JSON Web Encryption (JWE) exception. Used to indicate a JWE-protected object that couldn't be successfully decrypted or its integrity has been compromised.- Version:
- 2015-06-11
- Author:
- Vladimir Dzhuvinov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadJWEException(String message)
Creates a new bad JWE exception.BadJWEException(String message, Throwable cause)
Creates a new bad JWE exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadJWEException
public BadJWEException(String message)
Creates a new bad JWE exception.- Parameters:
message
- The exception message.
-
BadJWEException
public BadJWEException(String message, Throwable cause)
Creates a new bad JWE exception.- Parameters:
message
- The exception message.cause
- The exception cause.
-
-