Class NotATableException
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.NotATableException
- All Implemented Interfaces:
Serializable
public class NotATableException
extends org.datanucleus.exceptions.DatastoreValidationException
A NotATableException is thrown during schema validation if a
table should be a table but is found not to be in the database.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotATableException
(String tableName, 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, setNestedException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NotATableException
Constructs a not-a-table exception.- Parameters:
tableName
- Name of the table that is of the wrong type.type
- the type of the object
-