Class JDODuplicateObjectIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sun.jdo.api.persistence.support.JDOException
-
- com.sun.jdo.api.persistence.support.JDOCanRetryException
-
- com.sun.jdo.api.persistence.support.JDOUserException
-
- com.sun.jdo.api.persistence.support.JDODuplicateObjectIdException
-
- All Implemented Interfaces:
Serializable
public class JDODuplicateObjectIdException extends JDOUserException
JDODuplicateObjectIdException is thrown in case this PersistenceManager has another instance with the same Object Id in its cache.- Version:
- 0.1
- Author:
- Marina Vatkina
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDODuplicateObjectIdException()
Creates a newJDODuplicateObjectIdException
without detail message.JDODuplicateObjectIdException(String msg)
Constructs a newJDODuplicateObjectIdException
with the specified detail message.JDODuplicateObjectIdException(String msg, Exception nested)
Constructs a newJDODuplicateObjectIdException
with the specified detail message and nested Exception.JDODuplicateObjectIdException(String msg, Exception nested, Object[] failed)
Constructs a newJDODuplicateObjectIdException
with the specified detail message, nested exception, and failed object array.JDODuplicateObjectIdException(String msg, Object[] failed)
Constructs a newJDODuplicateObjectIdException
with the specified detail message and failed object array.
-
Method Summary
-
Methods inherited from class com.sun.jdo.api.persistence.support.JDOException
addFailedObject, getFailedObjectArray, getNestedException, printStackTrace, printStackTrace, printStackTrace, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Constructor Detail
-
JDODuplicateObjectIdException
public JDODuplicateObjectIdException()
Creates a newJDODuplicateObjectIdException
without detail message.
-
JDODuplicateObjectIdException
public JDODuplicateObjectIdException(String msg)
Constructs a newJDODuplicateObjectIdException
with the specified detail message.- Parameters:
msg
- the detail message.
-
JDODuplicateObjectIdException
public JDODuplicateObjectIdException(String msg, Exception nested)
Constructs a newJDODuplicateObjectIdException
with the specified detail message and nested Exception.- Parameters:
msg
- the detail message.nested
- the nestedException
.
-
JDODuplicateObjectIdException
public JDODuplicateObjectIdException(String msg, Object[] failed)
Constructs a newJDODuplicateObjectIdException
with the specified detail message and failed object array.- Parameters:
msg
- the detail message.failed
- the failed object array.
-
JDODuplicateObjectIdException
public JDODuplicateObjectIdException(String msg, Exception nested, Object[] failed)
Constructs a newJDODuplicateObjectIdException
with the specified detail message, nested exception, and failed object array.- Parameters:
msg
- the detail message.nested
- the nestedException
.failed
- the failed object array.
-
-