java.lang
public class NullPointerException extends RuntimeException
null where an object
is required. The Virtual Machine automatically throws this exception
for the following:Applications should also throw NullPointerExceptions whenever
null is an inappropriate parameter to a method.
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| NullPointerException()
Create an exception without a message. | |
| NullPointerException(String s)
Create an exception with a message.
| |
Parameters: s the message