- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.io7m.jranges.RangeCheckException
-
- All Implemented Interfaces:
java.io.Serializable
public final class RangeCheckException extends java.lang.RuntimeExceptionAn exception raised when a
RangeCheckassertion fails.Exceptions of this type are not intended to be caught and handled; they indicate program bugs.
- See Also:
RangeCheck, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RangeCheckException(java.lang.String message)Construct an exception with the given message.RangeCheckException(java.lang.String message, java.lang.Throwable cause)Construct an exception with the given cause and message.
-
-
-
Constructor Detail
-
RangeCheckException
public RangeCheckException(java.lang.String message)
Construct an exception with the given message.- Parameters:
message- The message
-
RangeCheckException
public RangeCheckException(java.lang.String message, java.lang.Throwable cause)Construct an exception with the given cause and message.- Parameters:
message- The messagecause- The cause
-
-