Class NotATableException

  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.NucleusDataStoreException
                      extended by
                          extended by
All Implemented Interfaces:

public class NotATableException

A NotATableException is thrown during schema validation if a table should be a table but is found not to be in the database.

$Revision: 1.3 $
See Also:
TableImpl, Serialized Form

Field Summary
Fields inherited from class
Constructor Summary
NotATableException(java.lang.String tableName, java.lang.String type)
          Constructs a not-a-table 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


public NotATableException(java.lang.String tableName,
                          java.lang.String type)
Constructs a not-a-table exception.

tableName - Name of the table that is of the wrong type.
type - the type of the object

Copyright © 2009. All Rights Reserved.