org.jpox.store.exceptions
Class SchemaValidationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
                          extended byorg.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.
 
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 © -2007 . All Rights Reserved.