Class WrongPrecisionException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
All Implemented Interfaces:

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.

Mike Martin
See Also:
Column, Serialized Form

Constructor Summary
WrongPrecisionException(Column column, int expectedPrecision, int actualPrecision)
          Constructs a wrong precision exception.
Methods inherited from class
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


public WrongPrecisionException(Column column,
                               int expectedPrecision,
                               int actualPrecision)
Constructs a wrong precision exception.

column - The column having the wrong precision.
expectedPrecision - The expected precision of the column.
actualPrecision - The actual precision of the column.

Copyright 2001-2007 The TJDO Project All Rights Reserved.