Class ExceptionUtils

java.lang.Object
io.qameta.allure.util.ExceptionUtils

public final class ExceptionUtils extends Object
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 Details

    • sneakyThrow

      public static <T extends Throwable> T sneakyThrow(Throwable throwable) throws T
      Returns the sneaky throw.
      Parameters:
      throwable - the throwable
      Returns:
      the sneaky throw
      Throws:
      T - if the underlying framework operation fails