Class ProcessExecutorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProcessExecutorException
    extends java.io.IOException
    An exception thrown when an external process terminated with a non-zero exit code. Getter methods allow to access the exit code as well as the stdout and stderr output.
    Author:
    Fabrizio Giudici
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessExecutorException​(java.lang.String message, int exitCode, java.util.List<java.lang.String> stdout, java.util.List<java.lang.String> stderr)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProcessExecutorException

        public ProcessExecutorException​(@Nonnull
                                        java.lang.String message,
                                        int exitCode,
                                        @Nonnull
                                        java.util.List<java.lang.String> stdout,
                                        @Nonnull
                                        java.util.List<java.lang.String> stderr)