1 *java.lang.SecurityException* *SecurityException* Thrown by the security manager
3 public class SecurityException
4 extends |java.lang.RuntimeException|
6 |java.lang.SecurityException_Description|
7 |java.lang.SecurityException_Fields|
8 |java.lang.SecurityException_Constructors|
9 |java.lang.SecurityException_Methods|
11 ================================================================================
13 *java.lang.SecurityException_Constructors*
14 |java.lang.SecurityException()|Constructs a SecurityException with no detail m
15 |java.lang.SecurityException(String)|Constructs a SecurityException with the sp
16 |java.lang.SecurityException(String,Throwable)|Creates a SecurityException with
17 |java.lang.SecurityException(Throwable)|Creates a SecurityException with the sp
19 *java.lang.SecurityException_Description*
21 Thrown by the security manager to indicate a security violation.
24 *java.lang.SecurityException()*
26 public SecurityException()
28 Constructs a SecurityException with no detail message.
31 *java.lang.SecurityException(String)*
33 public SecurityException(java.lang.String s)
35 Constructs a SecurityException with the specified detail message.
37 s - the detail message.
39 *java.lang.SecurityException(String,Throwable)*
41 public SecurityException(
42 java.lang.String message,
43 java.lang.Throwable cause)
45 Creates a SecurityException with the specified detail message and cause.
47 message - the detail message (which is saved for later retrieval by the {@link
48 #getMessage()} method).
49 cause - the cause (which is saved for later retrieval by the {@link #getCause()}
50 method). (A null value is permitted, and indicates that the cause is
51 nonexistent or unknown.)
53 *java.lang.SecurityException(Throwable)*
55 public SecurityException(java.lang.Throwable cause)
57 Creates a SecurityException with the specified cause and a detail message of
58 (cause==null ? null : cause.toString()) (which typically contains the class and
59 detail message of cause).
61 cause - the cause (which is saved for later retrieval by the {@link #getCause()}
62 method). (A null value is permitted, and indicates that the cause is
63 nonexistent or unknown.)