Exception: java.lang.SecurityException

Thrown by the security manager to indicate a security violation.
Authors:
@author unascribed
See:
@see SecurityManager
Since:
@since JDK1.0

Inheritance

Superclass tree: Implements:

Methods

  • SecurityExceptiontop

    public SecurityException()
    Constructs a SecurityException with no detail message.
    Google Code Search
    Stack Overflow
  • SecurityExceptiontop

    public SecurityException(String s)
    Constructs a SecurityException with the specified detail message.
    Parameters:
    @param s the detail message.
    Google Code Search
    Stack Overflow
  • SecurityExceptiontop

    public SecurityException(String message, Throwable cause)
    Creates a SecurityException with the specified detail message and cause.
    Parameters:
    @param message the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
    @param 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.)
    Since:
    @since 1.5
    Google Code Search
    Stack Overflow
  • SecurityExceptiontop

    public SecurityException(Throwable cause)
    Creates a SecurityException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    Parameters:
    @param 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.)
    Since:
    @since 1.5
    Google Code Search
    Stack Overflow