Class PersistentSuperclassNotAllowedException

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistentSuperclassNotAllowedException

        public PersistentSuperclassNotAllowedException​(java.lang.String className)
        Constructs a persistent-superclass-not-allowed exception.
        Parameters:
        className - The class having the persistence-capable superclass.