Class JwtException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.backend.security.oauth2.jwt.JwtException
Direct Known Subclasses:
BadJwtException, JwtEncodingException

public class JwtException extends RuntimeException
A token could not be made or could not be judged: a key is missing or unusable, the server that publishes the keys did not answer. A token that was judged and found wanting is the narrower BadJwtException.
  • Constructor Details

    • JwtException

      public JwtException(String message)
    • JwtException

      public JwtException(String message, Throwable cause)