com.programix.value
Class RangeValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.programix.value.ValueException
com.programix.value.RangeValueException
- All Implemented Interfaces:
- Serializable
public class RangeValueException
- extends ValueException
A kind of ValueException thrown to indicate that a Value
can not fit in the range of values for a given type.
This is a RuntimeException, so use of a
try/catch block is not required.
- Author:
- Paul Hyde
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RangeValueException
public RangeValueException(String message,
Throwable cause)
RangeValueException
public RangeValueException(Throwable cause)
RangeValueException
public RangeValueException(String message)
RangeValueException
public RangeValueException()
throwForByte
public static void throwForByte()
throws RangeValueException
- Throws:
RangeValueException
throwForShort
public static void throwForShort()
throws RangeValueException
- Throws:
RangeValueException
throwForInt
public static void throwForInt()
throws RangeValueException
- Throws:
RangeValueException
throwForLong
public static void throwForLong()
throws RangeValueException
- Throws:
RangeValueException
Copyright © 2001-2009
Programix Incorporated.
All rights reserved.
ProgramixGenericLib is free
and is
OSI Certified
Open Source Software under the BSD
license.