JDO Exception

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

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:
JDO 2.0

Public Constructors

Constructs a new JDONullIdentityException without a detail message.
Since:
JDO 2.0
Constructs a new JDONullIdentityException with the specified detail message.
Parameters:
msg - the detail message.
Since:
JDO 2.0
JDONullIdentityException(String msg, Object failed)
Constructs a new JDONullIdentityException with the specified detail message and failed object.
Parameters:
msg - the detail message.
failed - the failed object.
Since:
JDO 2.0
JDONullIdentityException(String msg, Throwable nested)
Constructs a new JDONullIdentityException with the specified detail message and nested Throwables.
Parameters:
msg - the detail message.
nested - the nested Throwable.
Since:
JDO 2.0
JDONullIdentityException(String msg, Throwable[] nested)
Constructs a new JDONullIdentityException with the specified detail message and nested Throwables.
Parameters:
msg - the detail message.
nested - the nested Throwable[].
Since:
JDO 2.0

Method inherited from class javax.jdo.JDOException

getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString

Method inherited from class java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Method inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait