public class SecurityException extends RuntimeException
| Constructor and Description |
|---|
SecurityException(String message)
Create a new security exception.
|
SecurityException(String message,
Throwable cause)
Create a new security exception.
|
SecurityException(Throwable cause)
Create a new security exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SecurityException(String message)
message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.public SecurityException(String message, 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(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–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.