java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.SecurityException
Thrown by the security manager to indicate a security violation.
Constructor Summary | |
---|---|
SecurityException
() Constructs a SecurityException with no detail message. |
|
SecurityException
(
String
s) Constructs a SecurityException with the specified detail message. |
|
SecurityException
(
String
message,
Throwable
Creates a SecurityException with the specified detail message and cause. |
|
SecurityException
(
Throwable
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 ). |
Method Summary |
---|
Methods inherited from class java.lang. Throwable |
---|
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , 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 |
---|
public SecurityException()
public SecurityException(String s)
public SecurityException ( String message, Throwable cause)
public SecurityException ( Throwable cause)