java.lang.SecurityException
This runtime exception is thrown when a security manager check fails.
Known Direct Subclasses
AccessControlException |
This runtime exception is thrown when an access control check indicates that
access should not be granted. |
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
SecurityException()
Constructs a new instance of this class with its walkback filled in.
public
SecurityException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in.
Parameters
detailMessage
| String The detail message for the exception.
|
public
SecurityException(String message, Throwable cause)
Constructs a new instance with a message and cause.
Parameters
message
| The message to assign to this exception. |
cause
| The optional cause of this exception; may be null . |
public
SecurityException(Throwable cause)
Constructs a new instance with a cause.
Parameters
cause
| The optional cause of this exception; may be null . |