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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecException(String message, InputStream stdout, InputStream stderr, int exitValue)
ExecException(String message, InputStream stdout, InputStream stderr, int exitValue, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExitValue()
InputStream
getStderr()
InputStream
getStdout()
-
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 Detail
-
ExecException
public ExecException(String message, InputStream stdout, InputStream stderr, int exitValue)
-
ExecException
public ExecException(String message, InputStream stdout, InputStream stderr, int exitValue, Throwable cause)
-
-
Method Detail
-
getExitValue
public int getExitValue()
-
getStdout
public InputStream getStdout()
-
getStderr
public InputStream getStderr()
-
-