Class AllureResultsWriteException

All Implemented Interfaces:
Serializable

public class AllureResultsWriteException extends RuntimeException
Signals that Allure results could not be written.

The file-system writer throws this unchecked exception when creating directories, writing JSON files, or copying attachment streams fails. Let it fail the current run because report output is incomplete.

See Also:
  • Constructor Details

    • AllureResultsWriteException

      public AllureResultsWriteException(String message, Throwable cause)
      Creates an Allure results write exception with the supplied values.
      Parameters:
      message - the message
      cause - the failure cause reported by the framework