org.fuin.utils4j
Class IllegalNullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
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
|
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 |
IllegalNullArgumentException
public IllegalNullArgumentException(String argument)
- Constructor with argument name.
- Parameters:
argument - Name of the argument that caused the exception.
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.