Class SecurityException

All Implemented Interfaces:
Serializable

public class SecurityException extends RuntimeException
Runtime exception used as by this module to be able to identify exception caused by it.
See Also:
  • Constructor Details

    • SecurityException

      public SecurityException(String message)
      Create a new security exception.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • SecurityException

      public SecurityException(String message, Throwable cause)
      Create a new security exception.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • SecurityException

      public SecurityException(Throwable cause)
      Create a new security exception.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)