ProgramixGenericLib v5.0.1

Uses of Class
com.programix.value.RangeValueException

Packages that use RangeValueException
com.programix.math Various containers and tools for dealing with numbers and math (including parsing and formatting). 
com.programix.value The Value framework for encapsulating "values" generically in a way that they can be coerced into other types. 
 

Uses of RangeValueException in com.programix.math
 

Methods in com.programix.math that throw RangeValueException
static int NumberTools.parseIntLenient(String source)
          Permissively parses the passed String into an int.
static long NumberTools.parseLongLenient(String source)
          Permissively parses the passed String into a long.
static byte NumberTools.toByte(Number num)
          Returns the value of the Number rounding off to the nearest byte.
static Byte NumberTools.toByteNumber(Number num)
          Returns the value of the Number rounding off to the nearest Byte.
static int NumberTools.toInt(Number num)
          Returns the value of the Number rounding off to the nearest int.
static Integer NumberTools.toIntegerNumber(Number num)
          Returns the value of the Number rounding off to the nearest Integer.
static long NumberTools.toLong(Number num)
          Returns the value of the Number rounding off to the nearest long.
static Long NumberTools.toLongNumber(Number num)
          Returns the value of the Number rounding off to the nearest Long.
static short NumberTools.toShort(Number num)
          Returns the value of the Number rounding off to the nearest short.
static Short NumberTools.toShortNumber(Number num)
          Returns the value of the Number rounding off to the nearest Short.
 

Uses of RangeValueException in com.programix.value
 

Methods in com.programix.value that throw RangeValueException
 byte AbstractValue.getByte()
           
 byte Value.getByte()
          Returns the result as a rounded off byte value.
 Byte AbstractValue.getByteNumber()
           
 Byte Value.getByteNumber()
          Returns the result as a rounded off Byte value.
 Byte AbstractValue.getByteNumberOrNull()
           
 Byte Value.getByteNumberOrNull()
          Returns the result as a Byte or null if the value is empty.
 int AbstractValue.getInt()
           
 int Value.getInt()
          Returns the result as a rounded off int value.
 Integer AbstractValue.getIntegerNumber()
           
 Integer Value.getIntegerNumber()
          Returns the result as a rounded off Integer value.
 Integer AbstractValue.getIntegerNumberOrNull()
           
 Integer Value.getIntegerNumberOrNull()
          Returns the result as an Integer or null if the value is empty.
 long AbstractValue.getLong()
           
 long Value.getLong()
          Returns the result as a rounded off long value.
 Long AbstractValue.getLongNumber()
           
 Long Value.getLongNumber()
          Returns the result as a rounded off Long value.
 Long AbstractValue.getLongNumberOrNull()
           
 Long Value.getLongNumberOrNull()
          Returns the result as a Long or null if the value is empty.
 short AbstractValue.getShort()
           
 short Value.getShort()
          Returns the result as a rounded off short value.
 Short AbstractValue.getShortNumber()
           
 Short Value.getShortNumber()
          Returns the result as a rounded off Short value.
 Short AbstractValue.getShortNumberOrNull()
           
 Short Value.getShortNumberOrNull()
          Returns the result as a Short or null if the value is empty.
static void RangeValueException.throwForByte()
           
static void RangeValueException.throwForInt()
           
static void RangeValueException.throwForLong()
           
static void RangeValueException.throwForShort()
           
 


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.