org.fuin.utils4j
Class IllegalNullArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.fuin.utils4j.IllegalNullArgumentException
All Implemented Interfaces:
java.io.Serializable

public final class IllegalNullArgumentException
extends java.lang.IllegalArgumentException

Thrown to indicate that a method has been passed an illegal null argument.

See Also:
Serialized Form

Constructor Summary
IllegalNullArgumentException(java.lang.String argument)
          Constructor with argument name.
 
Method Summary
 java.lang.String getArgument()
          Returns the name of the argument that caused the exception.
 
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

IllegalNullArgumentException

public IllegalNullArgumentException(java.lang.String argument)
Constructor with argument name.

Parameters:
argument - Name of the argument that caused the exception.
Method Detail

getArgument

public final java.lang.String getArgument()
Returns the name of the argument that caused the exception.

Returns:
Argument name.


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.