edu.rit.numeric
Class RangeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.rit.numeric.NumericRuntimeException
-
- edu.rit.numeric.RangeException
-
- All Implemented Interfaces:
- java.io.Serializable
public class RangeException extends NumericRuntimeException
Class RangeException is an unchecked runtime exception thrown if a function's value is outside the range of the return type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RangeException()Construct a new range exception with no detail message and no cause.RangeException(java.lang.String message)Construct a new range exception with the given detail message and no cause.RangeException(java.lang.String message, java.lang.Throwable cause)Construct a new range exception with the given detail message and the given cause.RangeException(java.lang.Throwable cause)Construct a new range exception with the given cause and the default detail message.
-
-
-
Constructor Detail
-
RangeException
public RangeException()
Construct a new range exception with no detail message and no cause.
-
RangeException
public RangeException(java.lang.String message)
Construct a new range exception with the given detail message and no cause.- Parameters:
message- Detail message.
-
RangeException
public RangeException(java.lang.Throwable cause)
Construct a new range exception with the given cause and the default detail message.- Parameters:
cause- Cause.
-
RangeException
public RangeException(java.lang.String message, java.lang.Throwable cause)Construct a new range exception with the given detail message and the given cause.- Parameters:
message- Detail message.cause- Cause.
-
-
DMelt 3.0 © DataMelt by jWork.ORG