Class IllegalKeyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalKeyException
    extends java.lang.IllegalArgumentException
    Exception thrown when an attempt is made to use an illegal key with an algorithm, A key may be regarded as illegal if it has been created for a specific mode of a particular algorithm and an attempt is made to use it for a different mode.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IllegalKeyException​(java.lang.String message)
      Base constructor.
    • 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

      • IllegalKeyException

        public IllegalKeyException​(java.lang.String message)
        Base constructor.
        Parameters:
        message - a message concerning the exception.