Name

NullPointerException

Synopsis

Signals an attempt to access a field or invoke a method of a null object.

java.lang.NullPointerException

Figure 10-46. java.lang.NullPointerException

public class NullPointerException extends RuntimeException {
// Public Constructors
     public NullPointerException( );  
     public NullPointerException(String s);  
}

Thrown By

org.xml.sax.helpers.ParserFactory.makeParser( )

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.