Class IllegalKeyException

All Implemented Interfaces:
Serializable

public class IllegalKeyException extends 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:
  • Constructor Details

    • IllegalKeyException

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