Package org.datanucleus.exceptions
Class DatastoreValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusDataStoreException
org.datanucleus.exceptions.DatastoreValidationException
- All Implemented Interfaces:
Serializable
A DatastoreValidationException is thrown if a mismatch is discovered
between what the JDO runtime thinks the datastore should look like and what it
actually looks like.
- See Also:
-
Field Summary
FieldsFields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a datastore validation exception with the specified detail message.DatastoreValidationException
(String msg, Exception nested) Constructs a schema validation exception with the specified detail message and nested 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
-
DatastoreValidationException
Constructs a datastore validation exception with the specified detail message.- Parameters:
msg
- the detail message
-
DatastoreValidationException
Constructs a schema validation exception with the specified detail message and nested exception.- Parameters:
msg
- the detail messagenested
- the nested exception(s).
-