Package com.mastfrog.util.preconditions
Class NullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.mastfrog.util.preconditions.NullArgumentException
- All Implemented Interfaces:
Serializable
Special IllegalArgumentException for null parameters. Checks.* use this
rather than NullPointerException to distinguish cases of code passing an illegal
null (clearly a bug on our part) from situations at runtime where something
is null which may not be in our code.
- Author:
- Tim Boudreau
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NullArgumentException
-