Package com.io7m.jranges
Class RangeCheckException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.io7m.jranges.RangeCheckException
- All Implemented Interfaces:
Serializable
An exception raised when a RangeCheck
assertion fails.
Exceptions of this type are not intended to be caught and handled; they indicate program bugs.
- See Also:
-
Constructor Summary
ConstructorDescriptionRangeCheckException
(String message) Construct an exception with the given message.RangeCheckException
(String message, Throwable cause) Construct an exception with the given cause and 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
-
RangeCheckException
Construct an exception with the given message.- Parameters:
message
- The message
-
RangeCheckException
Construct an exception with the given cause and message.- Parameters:
message
- The messagecause
- The cause
-