Package org.apache.commons.exec
Class ExecuteException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.io.IOException
 - 
- org.apache.commons.exec.ExecuteException
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ExecuteException extends java.io.IOExceptionAn exception indicating that the executing a subprocesses failed.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ExecuteException(java.lang.String message, int exitValue)Construct a new exception with the specified detail message.ExecuteException(java.lang.String message, int exitValue, java.lang.Throwable cause)Construct a new exception with the specified detail message and cause. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Return the underlying cause of this exception (if any).intgetExitValue()Gets the exit value returned by the failed process 
 - 
 
- 
- 
Constructor Detail
- 
ExecuteException
public ExecuteException(java.lang.String message, int exitValue)Construct a new exception with the specified detail message.- Parameters:
 message- The detail messageexitValue- The exit value
 
- 
ExecuteException
public ExecuteException(java.lang.String message, int exitValue, java.lang.Throwable cause)Construct a new exception with the specified detail message and cause.- Parameters:
 message- The detail messageexitValue- The exit valuecause- The underlying cause
 
 - 
 
 -