SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

kodo.util
Class DataStoreException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.jdo.JDOException
                          |
                          +--javax.jdo.JDOCanRetryException
                                |
                                +--javax.jdo.JDODataStoreException
                                      |
                                      +--kodo.util.DataStoreException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LockTimedOutException

public class DataStoreException
extends JDODataStoreException
implements Serializable

Serializable extensions of the JDODataStoreException.

Since:
2.5
See Also:
Serialized Form

Constructor Summary
DataStoreException()
           
DataStoreException(String msg)
           
DataStoreException(String msg, Object failed)
           
DataStoreException(String msg, Throwable nested)
           
DataStoreException(String msg, Throwable[] nested)
           
DataStoreException(String msg, Throwable[] nested, Object failed)
           
DataStoreException(String msg, Throwable nested, Object failed)
           
 
Method Summary
protected  DataStoreException newSerializableInstance(String msg, Throwable[] nested, Object failed)
          Return a new instance of this class with the given state, and add any additional serializable state from this instance.
 String toString()
          Bypass the standard JDOException.toString() method, since it has the potential for infinite recursion if the failed object references persistent fields whose access may cause another exception.
 Object writeReplace()
           
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataStoreException

public DataStoreException()

DataStoreException

public DataStoreException(String msg)

DataStoreException

public DataStoreException(String msg,
                          Object failed)

DataStoreException

public DataStoreException(String msg,
                          Throwable nested)

DataStoreException

public DataStoreException(String msg,
                          Throwable[] nested)

DataStoreException

public DataStoreException(String msg,
                          Throwable nested,
                          Object failed)

DataStoreException

public DataStoreException(String msg,
                          Throwable[] nested,
                          Object failed)
Method Detail

writeReplace

public Object writeReplace()
                    throws ObjectStreamException

newSerializableInstance

protected DataStoreException newSerializableInstance(String msg,
                                                     Throwable[] nested,
                                                     Object failed)
Return a new instance of this class with the given state, and add any additional serializable state from this instance.

toString

public String toString()
Bypass the standard JDOException.toString() method, since it has the potential for infinite recursion if the failed object references persistent fields whose access may cause another exception.
Overrides:
toString in class JDOException
Since:
3.2

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.