org.datanucleus.store.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.store.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
|
Constructor Summary |
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. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LOCALISER
protected static final Localiser LOCALISER
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).
Copyright © 2011. All Rights Reserved.