Class ProcessExitedWithErrorException

  • All Implemented Interfaces:
    Serializable

    public class ProcessExitedWithErrorException
    extends Exception

    Occurs when process has exited with error when it were starting.

    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessExitedWithErrorException

        public ProcessExitedWithErrorException​(String message,
                                               int exitCode)
        Constructs new instance with given message and code with which the process has exited.
        Parameters:
        message - given message (may be null)
        given - exit code with which the process has exited
    • Method Detail

      • getExitCode

        public int getExitCode()

        Returns the code with which the process has exited.

        Returns:
        the code with which the process has exited