public class SecurityException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
SecurityException(java.lang.String message)
Create a new security exception.
|
SecurityException(java.lang.String message,
java.lang.Throwable cause)
Create a new security exception.
|
SecurityException(java.lang.Throwable cause)
Create a new security exception.
|
public SecurityException(java.lang.String message)
message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.public SecurityException(java.lang.String message,
java.lang.Throwable cause)
message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public SecurityException(java.lang.Throwable cause)
cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.