Class JwtEncodingException

All Implemented Interfaces:
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:
  • Constructor Details

    • JwtEncodingException

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

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