org.jpox.store.exceptions
Class SchemaValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDODataStoreException
                          extended by org.jpox.store.exceptions.SchemaValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncompatibleDataTypeException, MissingColumnException, MissingTableException, NotATableException, NotAViewException, UnexpectedColumnException, WrongPrecisionException, WrongPrimaryKeyException, WrongScaleException

public class SchemaValidationException
extends javax.jdo.JDODataStoreException

A SchemaValidationException is thrown if a mismatch is discovered between what the JDO runtime thinks the schema should look like and what it actually looks like.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
SchemaValidationException(java.lang.String msg)
          Constructs a schema validation exception with the specified detail message.
SchemaValidationException(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 javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
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

SchemaValidationException

public SchemaValidationException(java.lang.String msg)
Constructs a schema validation exception with the specified detail message.

Parameters:
msg - the detail message

SchemaValidationException

public SchemaValidationException(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 © -2010 . All Rights Reserved.