Class ValueTooLargeException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by nl.knaw.dans.common.dbflib.DbfLibException
              extended by nl.knaw.dans.common.dbflib.ValueTooLargeException
All Implemented Interfaces:

public class ValueTooLargeException
extends DbfLibException

Thrown when trying to add a record that contains values that are too large for their designated fields. Note that numbers that are considered too large only if the number of digits before the decimal point exceeds the number number that fit in the field; too many decimal digits will simply be rounded.

Note, too, that dBase III handles NUMBER values internally as floating point values. It will display the values as found in the DBF file but if they are too large or contain too many digits dBase will display an error message or round the value when trying to process it (e.g. if you try to save the value again in the dBase program). The same is true for dBase IV and V and FLOAT values.

Jan van Mansum
See Also:
Serialized Form

Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Copyright © 2009-2012 DANS. All Rights Reserved.