Class FailedToStartRouteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.FailedToStartRouteException
- All Implemented Interfaces:
Serializable
Thrown when a previously built
Route fails to start as part of the CamelContext startup or a
RouteController startRoute call.
Carries the failing routeId and the source location (where available) so error messages can point at the
offending DSL. For failures during route construction itself use FailedToCreateRouteException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailedToStartRouteException(String routeId, @Nullable String location, String message, Throwable cause) FailedToStartRouteException(String routeId, String message) FailedToStartRouteException(String routeId, String message, Throwable cause) -
Method Summary
Methods inherited from class RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedToStartRouteException
-
FailedToStartRouteException
-
FailedToStartRouteException
public FailedToStartRouteException(String routeId, @Nullable String location, String message, Throwable cause) - Parameters:
routeId- the route id that failed to startlocation- the source location of the route definition, ornullif unknownmessage- the detail messagecause- the cause of the failure
-
-
Method Details
-
getRouteId
-
getLocation
-