Package | Description |
---|---|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
Modifier and Type | Method and Description |
---|---|
CatchDefinition |
CatchDefinition.exception(Class<? extends Throwable>... exceptions)
The exception(s) to catch.
|
CatchDefinition |
CatchDefinition.exceptionClasses(Class<? extends Throwable> exception)
Sets the exception class that the CatchType want to catch
|
CatchDefinition |
CatchDefinition.exceptionClasses(List<Class<? extends Throwable>> exceptionClasses)
The exceptions to catch.
|
CatchDefinition |
CatchDefinition.handled(boolean handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
CatchDefinition |
CatchDefinition.handled(Expression handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
CatchDefinition |
CatchDefinition.handled(Predicate handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
CatchDefinition |
CatchDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCatch is triggered.
|
Modifier and Type | Method and Description |
---|---|
List<CatchDefinition> |
TryDefinition.getCatchClauses() |
Apache Camel