Package org.apache.camel.component.exec
Class ExecException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.component.exec.ExecException
- All Implemented Interfaces:
Serializable
public class ExecException
extends org.apache.camel.RuntimeCamelException
Exception thrown when there is an execution failure.
- See Also:
-
Constructor Summary
ConstructorDescriptionExecException
(String message, InputStream stdout, InputStream stderr, int exitValue) ExecException
(String message, InputStream stdout, InputStream stderr, int exitValue, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecException
-
ExecException
public ExecException(String message, InputStream stdout, InputStream stderr, int exitValue, Throwable cause)
-
-
Method Details
-
getExitValue
public int getExitValue() -
getStdout
-
getStderr
-