Class JDONullIdentityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
javax.jdo.JDONullIdentityException
- All Implemented Interfaces:
Serializable
An instance of this class is thrown when attempting to create an object id
when the object id constructor parameter is null. This might occur when
creating an object id instance from a transient instance where an identity
field is null.
- Since:
- 2.0
- Version:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class JDOException
failed, nested -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newJDONullIdentityExceptionwithout a detail message.Constructs a newJDONullIdentityExceptionwith the specified detail message.JDONullIdentityException(String msg, Object failed) Constructs a newJDONullIdentityExceptionwith the specified detail message and failed object.JDONullIdentityException(String msg, Throwable nested) Constructs a newJDONullIdentityExceptionwith the specified detail message and nestedThrowables.JDONullIdentityException(String msg, Throwable[] nested) Constructs a newJDONullIdentityExceptionwith the specified detail message and nestedThrowables. -
Method Summary
Methods inherited from class JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
-
Constructor Details
-
JDONullIdentityException
public JDONullIdentityException()Constructs a newJDONullIdentityExceptionwithout a detail message. -
JDONullIdentityException
Constructs a newJDONullIdentityExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
JDONullIdentityException
-
JDONullIdentityException
-
JDONullIdentityException
-