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
public class InvalidUseOfNullException extends InvalidDataException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidUseOfNullException()
Create 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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidUseOfNullException
public InvalidUseOfNullException()
Create a newInvalidUseOfNullException
object.
-
InvalidUseOfNullException
public InvalidUseOfNullException(String field)
Create a newInvalidUseOfNullException
object.- Parameters:
field
- The name of the field or parameter that cannot have a null value
-
-