Package io.qameta.allure
Class AllureResultsWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.qameta.allure.AllureResultsWriteException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionAllureResultsWriteException(String message, Throwable cause) Creates an Allure results write exception with the supplied values. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AllureResultsWriteException
Creates an Allure results write exception with the supplied values.- Parameters:
message- the messagecause- the failure cause reported by the framework
-