org.jpox.store.rdbms.exceptions
Class WrongPrecisionException

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
                              extended by org.jpox.store.rdbms.exceptions.WrongPrecisionException
All Implemented Interfaces:
java.io.Serializable

public class WrongPrecisionException
extends SchemaValidationException

A WrongPrecisionException is thrown if a column is detected to have the wrong precision in the database during schema validation.

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

Field Summary
 
Fields inherited from class org.jpox.store.exceptions.SchemaValidationException
LOCALISER
 
Constructor Summary
WrongPrecisionException(java.lang.String columnName, int expectedPrecision, int actualPrecision)
          Constructs a wrong precision 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
 

Constructor Detail

WrongPrecisionException

public WrongPrecisionException(java.lang.String columnName,
                               int expectedPrecision,
                               int actualPrecision)
Constructs a wrong precision exception.

Parameters:
columnName - Name of the column having the wrong precision.
expectedPrecision - The expected precision of the column.
actualPrecision - The actual precision of the column.


Copyright © -2008 . All Rights Reserved.