Class ExternalProcessFailure

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentestfactory.utils.process.ExternalProcessFailure
All Implemented Interfaces:
Serializable

public class ExternalProcessFailure extends RuntimeException
Exception thrown when an external process fails.
Author:
edegenetais
See Also:
  • Constructor Details

    • ExternalProcessFailure

      public ExternalProcessFailure(String message, String errorStreamContent)
    • ExternalProcessFailure

      public ExternalProcessFailure(String message, String errorStreamContent, Integer errorCode)
  • Method Details

    • getErrorStreamContent

      public String getErrorStreamContent()
      Returns:
      Error stream from the failed external process.
    • getReturnCode

      public Integer getReturnCode()
      Returns:
      Error code from the failed external process (if known).