java.lang
Class SecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- Direct Known Subclasses:
- AccessControlException
public class SecurityException extends RuntimeException
Thrown when a security manager check fails.
-
-
Constructor Summary
Constructors Constructor and Description SecurityException()
Constructs a newSecurityException
that includes the current stack trace.SecurityException(String detailMessage)
Constructs a newSecurityException
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
SecurityException
public SecurityException()
Constructs a newSecurityException
that includes the current stack trace.
-
SecurityException
public SecurityException(String detailMessage)
Constructs a newSecurityException
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this exception.
-
-