org.jpox.exceptions
Class ObjectDetachedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
org.jpox.exceptions.ObjectDetachedException
- All Implemented Interfaces:
- java.io.Serializable
public class ObjectDetachedException
- extends javax.jdo.JDOUserException
A ObjectDetachedException is thrown if an attempt is
made to use the object in a process that doesnt allow detached objects.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
Constructor Summary |
ObjectDetachedException(java.lang.String class_name)
Constructs a class-not-detachable exception with the specified
detail message. |
ObjectDetachedException(java.lang.String class_name,
java.lang.Exception nested)
Constructs a class-not-detachable exception with the specified
detail message and nested exception. |
ObjectDetachedException(java.lang.Throwable[] nested)
Constructs a class-not-detachable exception for many objects with the specified
detail message and nested exceptions. |
Methods inherited from class javax.jdo.JDOException |
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectDetachedException
public ObjectDetachedException(java.lang.String class_name)
- Constructs a class-not-detachable exception with the specified
detail message.
- Parameters:
class_name
- Name of the class
ObjectDetachedException
public ObjectDetachedException(java.lang.String class_name,
java.lang.Exception nested)
- Constructs a class-not-detachable exception with the specified
detail message and nested exception.
- Parameters:
class_name
- name of the classnested
- the nested exception(s).
ObjectDetachedException
public ObjectDetachedException(java.lang.Throwable[] nested)
- Constructs a class-not-detachable exception for many objects with the specified
detail message and nested exceptions.
- Parameters:
nested
- the nested exception(s).
Copyright © -2008 . All Rights Reserved.