public class WrongPrecisionException
extends org.datanucleus.store.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, setNestedException
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public 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 © 2015. All rights reserved.