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
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. |
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)
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
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.