org.jpox.exceptions
Class ObjectDetachedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended byorg.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
 

Constructor Detail

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 class
nested - 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 © -2007 . All Rights Reserved.