Class JwtEncodingException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JwtEncodingException
    extends JwtException
    This exception is thrown when an error occurs while attempting to encode a JSON Web Token (JWT).
    Since:
    5.6
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JwtEncodingException​(java.lang.String message)
      Constructs a JwtEncodingException using the provided parameters.
      JwtEncodingException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a JwtEncodingException using the provided parameters.
    • 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

      • JwtEncodingException

        public JwtEncodingException​(java.lang.String message)
        Constructs a JwtEncodingException using the provided parameters.
        Parameters:
        message - the detail message
      • JwtEncodingException

        public JwtEncodingException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Constructs a JwtEncodingException using the provided parameters.
        Parameters:
        message - the detail message
        cause - the root cause