Name
SecurityException
Synopsis
Signals that an operation is not permitted for security reasons.
Figure 10-54. java.lang.SecurityException
public class SecurityException extends RuntimeException { // Public Constructors public SecurityException( ); 5.0 public SecurityException(Throwable cause); public SecurityException(String s); 5.0 public SecurityException(String message, Throwable cause); }
Subclasses
java.security.AccessControlException
Thrown By
Too many methods to list.
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.