Class JwsException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.forgerock.json.jose.exceptions.JwtRuntimeException
 - 
- org.forgerock.json.jose.exceptions.JwsException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 JwsSigningException,JwsVerifyingException
public class JwsException extends JwtRuntimeException
Represents a generic exception for JWS operations.- Since:
 - 2.0.0
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description JwsException(String message)Constructs a new JwsException with the provided exception message.JwsException(String message, Throwable throwable)Constructs a new JwsException with the provided exception message and underlying throwable.JwsException(Throwable throwable)Constructs a new JwsException 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
- 
JwsException
public JwsException(String message)
Constructs a new JwsException with the provided exception message.- Parameters:
 message- The exception message.
 
- 
JwsException
public JwsException(String message, Throwable throwable)
Constructs a new JwsException with the provided exception message and underlying throwable.- Parameters:
 message- The exception message.throwable- The underlying throwable.
 
- 
JwsException
public JwsException(Throwable throwable)
Constructs a new JwsException with the provided underlying throwable.- Parameters:
 throwable- The underlying throwable.
 
 - 
 
 -