org.datanucleus.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 org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by org.datanucleus.store.exceptions.DatastoreValidationException
                          extended by org.datanucleus.store.rdbms.exceptions.NotAViewException
All Implemented Interfaces:
java.io.Serializable

public class NotAViewException
extends org.datanucleus.store.exceptions.DatastoreValidationException

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

See Also:
Serialized Form

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

NotAViewException

public NotAViewException(java.lang.String viewName,
                         java.lang.String 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


Copyright © 2009. All Rights Reserved.