FileDocCategorySizeDatePackage
SecurityException.javaAPI DocJava SE 5 API2048Fri Aug 26 14:57:04 BST 2005java.lang

SecurityException

public class SecurityException extends RuntimeException
Thrown by the security manager to indicate a security violation.
author
unascribed
version
1.16, 12/19/03
see
java.lang.SecurityManager
since
JDK1.0

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public SecurityException()
Constructs a SecurityException with no detail message.


                 
      
	super();
    
public SecurityException(String s)
Constructs a SecurityException with the specified detail message.

param
s the detail message.

	super(s);
    
public SecurityException(String message, Throwable cause)
Creates a SecurityException with the specified detail message and cause.

param
message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
param
cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
since
1.5

	super(message, cause);
    
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).

param
cause the cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
since
1.5

	super(cause);
    
Methods Summary