java.lang
Class NullPointerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.NullPointerException

public class NullPointerException
extends RuntimeException


Constructor Summary
NullPointerException()
          Constructs a NullPointerException with no detail message.
NullPointerException(String s)
          Constructs a NullPointerException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notifyAll, toString, wait
 

Constructor Detail

NullPointerException

public NullPointerException()
Constructs a NullPointerException with no detail message.


NullPointerException

public NullPointerException(String s)
Constructs a NullPointerException with the specified detail message.

Parameters:
s - the detail message.