Package io.qameta.allure.util
Class ExceptionUtils
java.lang.Object
io.qameta.allure.util.ExceptionUtils
Utility methods for translating exceptions into Allure status details.
Use these helpers when an integration needs the same message, trace, and known/unknown failure classification that the built-in lifecycle code applies.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
TsneakyThrow(Throwable throwable) Returns the sneaky throw.
-
Method Details
-
sneakyThrow
Returns the sneaky throw.- Parameters:
throwable- the throwable- Returns:
- the sneaky throw
- Throws:
T- if the underlying framework operation fails
-