Package com.github.mizool.core.exception
Class ArgumentNullException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- com.github.mizool.core.exception.ArgumentNullException
-
- All Implemented Interfaces:
Serializable
public class ArgumentNullException extends IllegalArgumentException
Thrown when an explicit null check fails for a method argument.
Note: the exception is named "Argument..." instead of "Parameter..." for consistency withIllegalArgumentException
, which it extends.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArgumentNullException(String argumentName)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ArgumentNullException
public ArgumentNullException(String argumentName)
-
-