- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- NullPointerException
-
- ArgumentNullException
-
- All Implemented Interfaces:
Serializable
public class ArgumentNullException extends NullPointerException
Represents an exception when an method or constuctor argument is null.- Since:
- 5.0.0
- Version:
- 5.0.0
- Author:
- William Bittle
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArgumentNullException(String argumentName)
Minimal constructor.
-
Method Summary
-
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ArgumentNullException
public ArgumentNullException(String argumentName)
Minimal constructor.- Parameters:
argumentName
- the name of the argument that was null
-
-