Package com.nimbusds.jose.proc
Class BadJWSException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nimbusds.jose.proc.BadJOSEException
-
- com.nimbusds.jose.proc.BadJWSException
-
- All Implemented Interfaces:
Serializable
public class BadJWSException extends BadJOSEException
Bad JSON Web Signature (JWS) exception. Used to indicate an invalid signature or hash-based message authentication code (HMAC).- Version:
- 2015-06-11
- Author:
- Vladimir Dzhuvinov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadJWSException(String message)
Creates a new bad JWS exception.BadJWSException(String message, Throwable cause)
Creates a new bad JWS 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
-
BadJWSException
public BadJWSException(String message)
Creates a new bad JWS exception.- Parameters:
message
- The exception message.
-
BadJWSException
public BadJWSException(String message, Throwable cause)
Creates a new bad JWS exception.- Parameters:
message
- The exception message.cause
- The exception cause.
-
-