Package org.datanucleus.exceptions
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 org.datanucleus.exceptions.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 org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
Methods inherited from class java.lang.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
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).
-
ClassNotDetachableException
Constructs a class-not-detachable exception for many objects with the specified detail message and nested exceptions.- Parameters:
nested
- the nested exception(s).
-