Package me.olhalvo.unum.exception
Class OutOfUnsignedRangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.lang.NumberFormatException
me.olhalvo.unum.exception.OutOfUnsignedRangeException
- All Implemented Interfaces:
Serializable
Exception thrown when a value is out of range for an unsigned type
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOutOfUnsignedRangeException
(Class<? extends UNumber> type, long value, long min, long max) Constructs a new OutOfUnsignedRangeException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OutOfUnsignedRangeException
Constructs a new OutOfUnsignedRangeException with the specified detail message.- Parameters:
type
- the type that the value is out of range forvalue
- the value that is out of rangemin
- the minimum value for the typemax
- the maximum value for the type
-