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:
Serializable

public final class IllegalNullArgumentException
extends IllegalArgumentException

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

See Also:
Serialized Form

Constructor Summary
IllegalNullArgumentException(String argument)
          Constructor with argument name.
 
Method Summary
 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(String argument)
Constructor with argument name.

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

getArgument

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

Returns:
Argument name.


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