nl.knaw.dans.common.dbflib
Class ValueTooLargeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
nl.knaw.dans.common.dbflib.DbfLibException
nl.knaw.dans.common.dbflib.ValueTooLargeException
- All Implemented Interfaces:
- Serializable
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.
- Author:
- Jan van Mansum
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Copyright © 2009-2012 DANS. All Rights Reserved.