Class ClassNotDetachableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusUserException
org.datanucleus.exceptions.ClassNotDetachableException
- All Implemented Interfaces:
Serializable
A ClassNotDetachableException is thrown if an attempt is
made to detach an object whose class is not detachable.
- See Also:
-
Field Summary
FieldsFields inherited from class NucleusException
failed, fatal, nested -
Constructor Summary
ConstructorsConstructorDescriptionClassNotDetachableException(String class_name) Constructs a class-not-detachable exception with the specified detail message.ClassNotDetachableException(String class_name, Exception nested) Constructs a class-not-detachable exception with the specified detail message and nested exception.ClassNotDetachableException(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 NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ClassNotDetachableException
Constructs a class-not-detachable exception with the specified detail message.- Parameters:
class_name- Name of the class
-
ClassNotDetachableException
-
ClassNotDetachableException
Constructs a class-not-detachable exception for many objects with the specified detail message and nested exceptions.- Parameters:
nested- the nested exception(s).
-