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:
java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.datanucleus.exceptions.NucleusException
failed, fatal, nested
-
-
Constructor Summary
Constructors Constructor Description DatastoreValidationException(java.lang.String msg)
Constructs a datastore validation exception with the specified detail message.DatastoreValidationException(java.lang.String msg, java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DatastoreValidationException
public DatastoreValidationException(java.lang.String msg)
Constructs a datastore validation exception with the specified detail message.- Parameters:
msg
- the detail message
-
DatastoreValidationException
public DatastoreValidationException(java.lang.String msg, java.lang.Exception nested)
Constructs a schema validation exception with the specified detail message and nested exception.- Parameters:
msg
- the detail messagenested
- the nested exception(s).
-
-