Back to index

plt-scheme  4.2.1
Public Member Functions | Static Private Attributes
java.lang.NullPointerException Class Reference

Thrown when attempting to use null where an object is required. More...

Inheritance diagram for java.lang.NullPointerException:
Inheritance graph
[legend]
Collaboration diagram for java.lang.NullPointerException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NullPointerException ()
 Create an exception without a message.
 NullPointerException (String s)
 Create an exception with a message.

Static Private Attributes

static final long serialVersionUID = 5162710183389028792L
 Compatible with JDK 1.0+.

Detailed Description

Thrown when attempting to use 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.

Author:
Brian Jones
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com updated to 1.4

Definition at line 59 of file NullPointerException.java.


Constructor & Destructor Documentation

Create an exception without a message.

Definition at line 69 of file NullPointerException.java.

  {
  }

Create an exception with a message.

Parameters:
sthe message

Definition at line 78 of file NullPointerException.java.

  {
    super(s);
  }

Member Data Documentation

final long java.lang.NullPointerException.serialVersionUID = 5162710183389028792L [static, private]

Compatible with JDK 1.0+.

Reimplemented from java.lang.RuntimeException.

Definition at line 64 of file NullPointerException.java.


The documentation for this class was generated from the following file: