Class PersistentSuperclassNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusUserException
-
- org.datanucleus.store.rdbms.exceptions.ClassDefinitionException
-
- org.datanucleus.store.rdbms.exceptions.PersistentSuperclassNotAllowedException
-
- All Implemented Interfaces:
Serializable
public class PersistentSuperclassNotAllowedException extends ClassDefinitionException
A PersistentSuperclassNotAllowedException is thrown if a persistence-capable class is declared to have a persistence-capable superclass when that class is backed by a view.- See Also:
ClassView
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentSuperclassNotAllowedException(String className)
Constructs a persistent-superclass-not-allowed exception.
-
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
-
-
-
-
Constructor Detail
-
PersistentSuperclassNotAllowedException
public PersistentSuperclassNotAllowedException(String className)
Constructs a persistent-superclass-not-allowed exception.- Parameters:
className
- The class having the persistence-capable superclass.
-
-