|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.exec.ExecuteException
public class ExecuteException
An exception indicating that the executing a subprocesses failed.
| Constructor Summary | |
|---|---|
ExecuteException(String message,
int exitValue)
Construct a new exception with the specified detail message. |
|
ExecuteException(String message,
int exitValue,
Throwable cause)
Construct a new exception with the specified detail message and cause. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Return the underlying cause of this exception (if any). |
int |
getExitValue()
Gets the exit value returned by the failed process |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 |
|---|
public ExecuteException(String message,
int exitValue)
message - The detail messageexitValue - The exit value
public ExecuteException(String message,
int exitValue,
Throwable cause)
message - The detail messageexitValue - The exit valuecause - The underlying cause| Method Detail |
|---|
public Throwable getCause()
getCause in class Throwablepublic int getExitValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||