SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

kodo.util
Class GeneralException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.jdo.JDOException
                          |
                          +--javax.jdo.JDOCanRetryException
                                |
                                +--kodo.util.CanRetryException
                                      |
                                      +--kodo.util.GeneralException
All Implemented Interfaces:
Serializable

public class GeneralException
extends CanRetryException

Exception type for general JDO exceptions.

Since:
3.2
See Also:
Serialized Form

Constructor Summary
GeneralException()
           
GeneralException(String msg)
           
GeneralException(String msg, Object failed)
           
GeneralException(String msg, Throwable nested)
           
GeneralException(String msg, Throwable[] nested)
           
GeneralException(String msg, Throwable[] nested, Object failed)
           
GeneralException(String msg, Throwable nested, Object failed)
           
 
Method Summary
protected  CanRetryException 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.
 
Methods inherited from class kodo.util.CanRetryException
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

GeneralException

public GeneralException()

GeneralException

public GeneralException(String msg)

GeneralException

public GeneralException(String msg,
                        Object failed)

GeneralException

public GeneralException(String msg,
                        Throwable nested)

GeneralException

public GeneralException(String msg,
                        Throwable[] nested)

GeneralException

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

GeneralException

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

newSerializableInstance

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

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 CanRetryException
Since:
3.2

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

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