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.
25 *java.lang.SecurityException()*
27 public SecurityException()
29 Constructs a SecurityException with no detail message.
32 *java.lang.SecurityException(String)*
34 public SecurityException(java.lang.String s)
36 Constructs a SecurityException with the specified detail message.
38 s - the detail message.
40 *java.lang.SecurityException(String,Throwable)*
42 public SecurityException(
43 java.lang.String message,
44 java.lang.Throwable cause)
46 Creates a SecurityException with the specified detail message and cause.
48 message - the detail message (which is saved for later retrieval by the {@link
49 #getMessage()} method).
50 cause - the cause (which is saved for later retrieval by the {@link #getCause()}
51 method). (A null value is permitted, and indicates that the cause is
52 nonexistent or unknown.)
54 *java.lang.SecurityException(Throwable)*
56 public SecurityException(java.lang.Throwable cause)
58 Creates a SecurityException with the specified cause and a detail message of
59 (cause==null ? null : cause.toString()) (which typically contains the class and
60 detail message of cause).
62 cause - the cause (which is saved for later retrieval by the {@link #getCause()}
63 method). (A null value is permitted, and indicates that the cause is
64 nonexistent or unknown.)