Class NotAViewException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusDataStoreException
org.datanucleus.exceptions.DatastoreValidationException
org.datanucleus.store.rdbms.exceptions.NotAViewException
All Implemented Interfaces:
Serializable

public class NotAViewException extends org.datanucleus.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:
  • Field Details

  • Constructor Details

    • NotAViewException

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