Package com.hammy275.immersivemc.test
Class AssertionFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hammy275.immersivemc.test.AssertionFailure
- All Implemented Interfaces:
Serializable
Assertion failure exception.
This exception is specially handled in
This exception is specially handled in
TestResult to get the third line of the traceback and print
that, rather than the entire traceback. As such, this should only be thrown from a method that is exactly
one method call away from the test.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssertionFailure
-