public class DefaultRouteError extends Object implements org.apache.camel.spi.RouteError
Constructor and Description |
---|
DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getException() |
org.apache.camel.spi.RouteError.Phase |
getPhase() |
static void |
reset(org.apache.camel.CamelContext context,
String routeId) |
static void |
set(org.apache.camel.CamelContext context,
String routeId,
org.apache.camel.spi.RouteError.Phase phase,
Throwable throwable) |
String |
toString() |
public DefaultRouteError(org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
public org.apache.camel.spi.RouteError.Phase getPhase()
getPhase
in interface org.apache.camel.spi.RouteError
public Throwable getException()
getException
in interface org.apache.camel.spi.RouteError
public static void set(org.apache.camel.CamelContext context, String routeId, org.apache.camel.spi.RouteError.Phase phase, Throwable throwable)
public static void reset(org.apache.camel.CamelContext context, String routeId)
Apache Camel