Class ExternalProcessFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentestfactory.utils.process.ExternalProcessFailure
- All Implemented Interfaces:
Serializable
Exception thrown when an external process fails.
- Author:
- edegenetais
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExternalProcessFailure(String message, String errorStreamContent) ExternalProcessFailure(String message, String errorStreamContent, Integer errorCode) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExternalProcessFailure
-
ExternalProcessFailure
-
-
Method Details
-
getErrorStreamContent
- Returns:
- Error stream from the failed external process.
-
getReturnCode
- Returns:
- Error code from the failed external process (if known).
-