Name

java.lang.NullPointerException

Synopsis

This exception is identical to its J2SE counterpart. It signifies an attempt to reference an object that has not yet been instantiated.

public classNullPointerException extends java.lang.RuntimeException {
   // constructors
   public NullPointerException();
   public NullPointerException(String s);
}

Get Wireless Java 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.