public class WrongPrecisionException
extends org.datanucleus.exceptions.DatastoreValidationException
| Constructor and Description |
|---|
WrongPrecisionException(String columnName,
int expectedPrecision,
int actualPrecision)
Constructs a wrong precision exception.
|
WrongPrecisionException(String columnName,
int expectedPrecision,
int actualPrecision,
String fieldName)
Constructs a wrong precision exception.
|
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic WrongPrecisionException(String columnName, int expectedPrecision, int actualPrecision)
columnName - Name of the column having the wrong precision.expectedPrecision - The expected precision of the column.actualPrecision - The actual precision of the column.public WrongPrecisionException(String columnName, int expectedPrecision, int actualPrecision, String fieldName)
columnName - Name of the column having the wrong precision.expectedPrecision - The expected precision of the column.actualPrecision - The actual precision of the column.fieldName - The field name.Copyright © 2019. All rights reserved.