Class BadJWSException

  • All Implemented Interfaces:
    java.io.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​(java.lang.String message)
      Creates a new bad JWS exception.
      BadJWSException​(java.lang.String message, java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BadJWSException

        public BadJWSException​(java.lang.String message)
        Creates a new bad JWS exception.
        Parameters:
        message - The exception message.
      • BadJWSException

        public BadJWSException​(java.lang.String message,
                               java.lang.Throwable cause)
        Creates a new bad JWS exception.
        Parameters:
        message - The exception message.
        cause - The exception cause.