Package net.sf.basedb.core
Class InvalidUseOfNullException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.InvalidDataException
net.sf.basedb.core.InvalidUseOfNullException
- All Implemented Interfaces:
Serializable
This exception is thrown when an object field or a parameter
that mustn't be null is set to null.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a newInvalidUseOfNullException
object.InvalidUseOfNullException
(String field) Create a newInvalidUseOfNullException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
InvalidUseOfNullException
public InvalidUseOfNullException()Create a newInvalidUseOfNullException
object. -
InvalidUseOfNullException
Create a newInvalidUseOfNullException
object.- Parameters:
field
- The name of the field or parameter that cannot have a null value
-