java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.klojang.check.CorruptCheckException
- All Implemented Interfaces:
Serializable
Thrown if a check was incorrectly specified. This is a "bad" exception because it
does not imply that the tested value is invalid, but that the check testing the
value is itself broken. Note that, by and large, Klojang Checks does not verify
the sanity of your checks. This is to make sure that you can use Klojang Check
even in the most performance-critical operations. Thus, generally, you will not be
confronted with a
CorruptCheckException
. Instead you will simply get raw
runtime exceptions, thrown from lower level layers of code, if not the JVM.- Author:
- Ayco Holleman
- See Also:
-
Constructor Summary
ConstructorDescriptionCorruptCheckException
(String message) Instantiates a newCorruptCheckException
with the specified error 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
-
CorruptCheckException
Instantiates a newCorruptCheckException
with the specified error message.- Parameters:
message
- the error message.
-