org.datanucleus.store.exceptions
Class DatastoreValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by 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

Field Summary
protected static Localiser LOCALISER
           
 
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.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
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 message
nested - the nested exception(s).


Copyright © 2011. All Rights Reserved.