mulan.core
Class ArgumentNullException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
mulan.core.MulanRuntimeException
mulan.core.ArgumentNullException
- All Implemented Interfaces:
- Serializable
public class ArgumentNullException
- extends MulanRuntimeException
This exception is raised when a null reference is passed to a method that does not accept
a null reference for an argument.
- Author:
- Jozef Vilcek
- See Also:
- Serialized Form
ArgumentNullException
public ArgumentNullException(String paramName)
- Creates a new instance of
ArgumentNullException
for specified parameter.
- Parameters:
paramName
- the name of the parameter which caused ArgumentNullException
.
ArgumentNullException
public ArgumentNullException(String paramName,
String message)
- Creates a new instance of
ArgumentNullException
with detailed message
for specified parameter.
- Parameters:
message
- the detailed message.paramName
- the name of the parameter which caused ArgumentNullException
.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable