Package org.mpi_sws.jmc.util
Class ExceptionUtil
java.lang.Object
org.mpi_sws.jmc.util.ExceptionUtil
Utility class for exception handling.
This class provides methods to check if a given Throwable is an AssertionError or contains an AssertionError in its cause chain.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if the given Throwable is an AssertionError or contains an AssertionError in its cause chain.
-
Constructor Details
-
ExceptionUtil
public ExceptionUtil()
-
-
Method Details
-
isAssertionError
Checks if the given Throwable is an AssertionError or contains an AssertionError in its cause chain.- Parameters:
t- the Throwable to check- Returns:
- true if the Throwable is an AssertionError or contains one in its cause chain, false otherwise
-