Package com.queomedia.commons.exceptions
Class ArgumentNullException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- com.queomedia.commons.exceptions.ArgumentNullException
-
- All Implemented Interfaces:
Serializable
public class ArgumentNullException extends IllegalArgumentException
The Class ArgumentNullException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArgumentNullException(String argument)c-tor.ArgumentNullException(String argument, String message)The Constructor.ArgumentNullException(String argument, String message, Throwable cause)The Constructor.ArgumentNullException(String argument, Throwable cause)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArgument()Name of the argument that should not be null.StringtoString()To string.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ArgumentNullException
public ArgumentNullException(String argument)
c-tor.- Parameters:
argument- argument name
-
ArgumentNullException
public ArgumentNullException(String argument, String message)
The Constructor.- Parameters:
argument- the argumentmessage- the message
-
ArgumentNullException
public ArgumentNullException(String argument, String message, Throwable cause)
The Constructor.- Parameters:
argument- the argumentmessage- the messagecause- the cause
-
-