org.jpox.exceptions
Class ClassNotDetachableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by org.jpox.exceptions.ClassNotDetachableException
All Implemented Interfaces:
java.io.Serializable

public class ClassNotDetachableException
extends javax.jdo.JDOUserException

A ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable.

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Constructor Summary
ClassNotDetachableException(java.lang.String class_name)
          Constructs a class-not-detachable exception with the specified detail message.
ClassNotDetachableException(java.lang.String class_name, java.lang.Exception nested)
          Constructs a class-not-detachable exception with the specified detail message and nested exception.
ClassNotDetachableException(java.lang.Throwable[] nested)
          Constructs a class-not-detachable exception for many objects with the specified detail message and nested exceptions.
 
Method Summary
 
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

ClassNotDetachableException

public ClassNotDetachableException(java.lang.String class_name)
Constructs a class-not-detachable exception with the specified detail message.

Parameters:
class_name - Name of the class

ClassNotDetachableException

public ClassNotDetachableException(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).

ClassNotDetachableException

public ClassNotDetachableException(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 © -2011 . All Rights Reserved.