Class JWKException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JWKException
    extends KeyException
    JSON Web Key (JWK) related exception.
    Author:
    jricher
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JWKException​(java.lang.String message)
      Creates a new JWK with the specified message.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JWKException expectedClass​(java.lang.Class<? extends JWK> expectedJWKClass)
      Creates a new JWK type exception.
      static JWKException expectedPrivate()  
      • 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

      • JWKException

        public JWKException​(java.lang.String message)
        Creates a new JWK with the specified message.
        Parameters:
        message - The exception message.
    • Method Detail

      • expectedClass

        public static JWKException expectedClass​(java.lang.Class<? extends JWK> expectedJWKClass)
        Creates a new JWK type exception.
        Parameters:
        expectedJWKClass - The expected JWK class. Should not be null.
      • expectedPrivate

        public static JWKException expectedPrivate()