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
public class DatastoreValidationException extends NucleusDataStoreException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatastoreValidationException(String msg)
Constructs 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
-
-
-
-
Constructor Detail
-
DatastoreValidationException
public DatastoreValidationException(String msg)
Constructs a datastore validation exception with the specified detail message.- Parameters:
msg
- the detail message
-
-