Exception: java.lang.SecurityException
- public exception SecurityException
- extends RuntimeException
Thrown by the security manager to indicate a security violation.
Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.lang.SecurityException
Methods
-
SecurityExceptiontop
public SecurityException()Constructs aSecurityExceptionwith no detail message. -
SecurityExceptiontop
public SecurityException(String s)Constructs aSecurityExceptionwith the specified detail message. -
SecurityExceptiontop
Creates aSecurityExceptionwith the specified detail message and cause. -
SecurityExceptiontop
public SecurityException(Throwable cause)Creates aSecurityExceptionwith the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
