public class WrongScaleException
extends org.datanucleus.store.exceptions.DatastoreValidationException
Constructor and Description |
---|
WrongScaleException(String columnName,
int expectedScale,
int actualScale)
Constructs a wrong scale exception.
|
WrongScaleException(String columnName,
int expectedScale,
int actualScale,
String fieldName)
Constructs a wrong scale exception.
|
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public WrongScaleException(String columnName, int expectedScale, int actualScale)
columnName
- Name of the column having the wrong scale.expectedScale
- The expected scale of the column.actualScale
- The actual scale of the column.public WrongScaleException(String columnName, int expectedScale, int actualScale, String fieldName)
columnName
- Name of the column having the wrong scale.expectedScale
- The expected scale of the column.actualScale
- The actual scale of the column.fieldName
- The field name.Copyright © 2017. All rights reserved.