public class VetoCamelContextStartException extends Exception
CamelContext
.
The option rethrowException can be used to control whether to rethrow this exception
when starting CamelContext or not.LifecycleStrategy
,
Serialized FormConstructor and Description |
---|
VetoCamelContextStartException(String message,
CamelContext context) |
VetoCamelContextStartException(String message,
CamelContext context,
boolean rethrowException) |
VetoCamelContextStartException(String message,
Throwable cause,
CamelContext context) |
VetoCamelContextStartException(String message,
Throwable cause,
CamelContext context,
boolean rethrowException) |
Modifier and Type | Method and Description |
---|---|
CamelContext |
getContext() |
boolean |
isRethrowException()
Whether to rethrow this exception when starting CamelContext, to cause an exception
to be thrown from the start method.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VetoCamelContextStartException(String message, CamelContext context)
public VetoCamelContextStartException(String message, CamelContext context, boolean rethrowException)
public VetoCamelContextStartException(String message, Throwable cause, CamelContext context)
public VetoCamelContextStartException(String message, Throwable cause, CamelContext context, boolean rethrowException)
public CamelContext getContext()
public boolean isRethrowException()
Apache Camel