org.apache.empire.db.exceptions
Class FieldValueOutOfRangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.empire.exceptions.EmpireException
                  extended by org.apache.empire.db.exceptions.FieldValueException
                      extended by org.apache.empire.db.exceptions.FieldValueOutOfRangeException
All Implemented Interfaces:
Serializable

public class FieldValueOutOfRangeException
extends FieldValueException

See Also:
Serialized Form

Field Summary
static ErrorType notInRangeErrorType
           
static ErrorType outOfRangeErrorType
           
static ErrorType valueTooBigErrorType
           
static ErrorType valueTooSmallErrorType
           
 
Constructor Summary
FieldValueOutOfRangeException(Column col)
           
FieldValueOutOfRangeException(Column col, Number minMax, boolean isMax)
           
FieldValueOutOfRangeException(Column col, Number min, Number max)
           
 
Method Summary
 
Methods inherited from class org.apache.empire.db.exceptions.FieldValueException
getColumn, getColumnTitle
 
Methods inherited from class org.apache.empire.exceptions.EmpireException
formatErrorMessage, getErrorParams, getErrorType, log
 
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
 

Field Detail

outOfRangeErrorType

public static final ErrorType outOfRangeErrorType

notInRangeErrorType

public static final ErrorType notInRangeErrorType

valueTooBigErrorType

public static final ErrorType valueTooBigErrorType

valueTooSmallErrorType

public static final ErrorType valueTooSmallErrorType
Constructor Detail

FieldValueOutOfRangeException

public FieldValueOutOfRangeException(Column col)

FieldValueOutOfRangeException

public FieldValueOutOfRangeException(Column col,
                                     Number min,
                                     Number max)

FieldValueOutOfRangeException

public FieldValueOutOfRangeException(Column col,
                                     Number minMax,
                                     boolean isMax)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.