org.zeroturnaround.exec
Class InvalidExitValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.zeroturnaround.exec.InvalidResultException
                  extended by org.zeroturnaround.exec.InvalidExitValueException
All Implemented Interfaces:
Serializable

public class InvalidExitValueException
extends InvalidResultException

Process finished with a forbidden exit value.

Author:
Rein Raudjärv
See Also:
ProcessExecutor.exitValues(Integer...), Serialized Form

Constructor Summary
InvalidExitValueException(String message, ProcessResult result)
           
 
Method Summary
 
Methods inherited from class org.zeroturnaround.exec.InvalidResultException
exitValue, getExitValue, getResult, result
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

InvalidExitValueException

public InvalidExitValueException(String message,
                                 ProcessResult result)
Parameters:
result - result of execution (contains also the exit value)


Copyright © 2015 ZeroTurnaround. All rights reserved.