org.datanucleus.store.rdbms.exceptions
Class PersistentSuperclassNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.store.exceptions.ClassDefinitionException
                          extended by org.datanucleus.store.rdbms.exceptions.PersistentSuperclassNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class PersistentSuperclassNotAllowedException
extends org.datanucleus.store.exceptions.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.

Version:
$Revision: 1.1 $
See Also:
ClassView, Serialized Form

Field Summary
 
Fields inherited from class org.datanucleus.store.exceptions.ClassDefinitionException
LOCALISER
 
Constructor Summary
PersistentSuperclassNotAllowedException(java.lang.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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, 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.


Copyright © 2009. All Rights Reserved.