Class UnsupportedPasetoException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedPasetoException
    extends PasetoException
    Exception thrown when receiving a JWT in a particular format/configuration that does not match the format expected by the application.

    For example, this exception would be thrown if parsing a paseto token has a version that is not supported by this library.

    Since:
    0.1
    See Also:
    Serialized Form
    • 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

      • UnsupportedPasetoException

        public UnsupportedPasetoException​(java.lang.String message)
      • UnsupportedPasetoException

        public UnsupportedPasetoException​(java.lang.String message,
                                          java.lang.Throwable cause)