java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.seasar.doma.DomaException
org.seasar.doma.DomaNullPointerException
- All Implemented Interfaces:
Serializable
Thrown to indicate that an argument is
null and null values are not allowed for this
parameter.
This exception class makes it easy to distinguish between issues caused by Doma's specifications and actual bugs in the Doma framework.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringthe parameter name that corresponds to the argumentFields inherited from class org.seasar.doma.DomaException
args, messageResource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the parameter name that corresponds to the argument.Methods inherited from class org.seasar.doma.DomaException
getArgs, getMessageResourceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
parameterName
the parameter name that corresponds to the argument
-
-
Constructor Details
-
DomaNullPointerException
Constructs an instance.- Parameters:
parameterName- the parameter name that corresponds to the argument
-
-
Method Details
-
getParameterName
Returns the parameter name that corresponds to the argument.- Returns:
- the parameter name
-