com.sun.jdo.api.persistence.support
Class JDODuplicateObjectIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.jdo.api.persistence.support.JDOException
                  extended by com.sun.jdo.api.persistence.support.JDOCanRetryException
                      extended by com.sun.jdo.api.persistence.support.JDOUserException
                          extended by 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
JDODuplicateObjectIdException()
          Creates a new JDODuplicateObjectIdException without detail message.
JDODuplicateObjectIdException(String msg)
          Constructs a new JDODuplicateObjectIdException with the specified detail message.
JDODuplicateObjectIdException(String msg, Exception nested)
          Constructs a new JDODuplicateObjectIdException with the specified detail message and nested Exception.
JDODuplicateObjectIdException(String msg, Exception nested, Object[] failed)
          Constructs a new JDODuplicateObjectIdException with the specified detail message, nested exception, and failed object array.
JDODuplicateObjectIdException(String msg, Object[] failed)
          Constructs a new JDODuplicateObjectIdException 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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDODuplicateObjectIdException

public JDODuplicateObjectIdException()
Creates a new JDODuplicateObjectIdException without detail message.


JDODuplicateObjectIdException

public JDODuplicateObjectIdException(String msg)
Constructs a new JDODuplicateObjectIdException with the specified detail message.

Parameters:
msg - the detail message.

JDODuplicateObjectIdException

public JDODuplicateObjectIdException(String msg,
                                     Exception nested)
Constructs a new JDODuplicateObjectIdException with the specified detail message and nested Exception.

Parameters:
msg - the detail message.
nested - the nested Exception.

JDODuplicateObjectIdException

public JDODuplicateObjectIdException(String msg,
                                     Object[] failed)
Constructs a new JDODuplicateObjectIdException 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 new JDODuplicateObjectIdException with the specified detail message, nested exception, and failed object array.

Parameters:
msg - the detail message.
nested - the nested Exception.
failed - the failed object array.


Copyright © 2012. All Rights Reserved.