org.apache.commons.lang
Class NullArgumentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byorg.apache.commons.lang.NullArgumentException
All Implemented Interfaces:
Serializable

public class NullArgumentException
extends IllegalArgumentException

Thrown to indicate that an argument was null and should not have been.

Since:
2.0
Version:
$Id: NullArgumentException.java,v 1.5 2003/08/18 02:22:23 bayard Exp $
Author:
Matthew Hawthorne, Stephen Colebourne
See Also:
Serialized Form

Constructor Summary
NullArgumentException(String argName)
          Instantiates with the given argument name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullArgumentException

public NullArgumentException(String argName)

Instantiates with the given argument name.

Parameters:
argName - the name of the argument that was null.


Copyright © 2001-2003 - Apache Software Foundation