Class 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 Detail

      • PersistentSuperclassNotAllowedException

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