org.jpox.store.rdbms.exceptions
Class NotATableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
                          extended byorg.jpox.store.exceptions.SchemaValidationException
                              extended byorg.jpox.store.rdbms.exceptions.NotATableException
All Implemented Interfaces:
java.io.Serializable

public class NotATableException
extends SchemaValidationException

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

Version:
$Revision: 1.2 $
See Also:
TableImpl, Serialized Form

Field Summary
 
Fields inherited from class org.jpox.store.exceptions.SchemaValidationException
LOCALISER
 
Constructor Summary
NotATableException(java.lang.String tableName, int type)
          Constructs a not-a-table exception.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotATableException

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

Parameters:
tableName - Name of the table that is of the wrong type.
type - the type of the object @see Table


Copyright © -2007 . All Rights Reserved.