org.datanucleus.exceptions
Class ClassNotDetachableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.exceptions.ClassNotDetachableException
All Implemented Interfaces:
java.io.Serializable

public class ClassNotDetachableException
extends NucleusUserException

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

Version:
$Revision: 1.6 $
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 org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
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.