Name
IllegalAccessException
Synopsis
Signals
that a class or initializer is not accessible. Thrown by
Class.newInstance( )
.
Figure 10-25. java.lang.IllegalAccessException
public class IllegalAccessException extends Exception { // Public Constructors public IllegalAccessException( ); public IllegalAccessException(String s); }
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.