org.jpox.store.rdbms.exceptions
Class NotAViewException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDODataStoreException
                          extended by org.jpox.store.exceptions.SchemaValidationException
                              extended by org.jpox.store.rdbms.exceptions.NotAViewException
All Implemented Interfaces:
java.io.Serializable

public class NotAViewException
extends SchemaValidationException

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

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

Field Summary
 
Fields inherited from class org.jpox.store.exceptions.SchemaValidationException
LOCALISER
 
Constructor Summary
NotAViewException(java.lang.String viewName, int type)
          Constructs a not-a-view exception.
 
Method Summary
 
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

NotAViewException

public NotAViewException(java.lang.String viewName,
                         int type)
Constructs a not-a-view exception.

Parameters:
viewName - Name of the view that is of the wrong type.
type - the type of the object @see Table


Copyright © -2010 . All Rights Reserved.