Package org.apache.camel
Class RuntimeCamelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyStoppedException
,ExpectedBodyTypeException
,ExpressionEvaluationException
,ExpressionIllegalSyntaxException
,FailedToCreateConsumerException
,FailedToCreateProducerException
,FailedToCreateRouteException
,FailedToCreateRouteFromTemplateException
,FailedToStartComponentException
,FailedToStartRouteException
,InvalidPropertyException
,NoSuchBeanException
,NoSuchEndpointException
,NoSuchLanguageException
,PropertyBindingException
,ProxyInstantiationException
,ResolveEndpointFailedException
,RuntimeExchangeException
,RuntimeExpressionException
,RuntimeTransformException
,TypeConversionException
,TypeConverterExistsException
,TypeConverterLoaderException
Base class for all Camel unchecked exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeCamelException
(String message) RuntimeCamelException
(String message, Throwable cause) RuntimeCamelException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeCamelException
Wraps the caused exception in aRuntimeCamelException
if its not already such an exception.static RuntimeException
Wraps the caused exception in aRuntimeCamelException
if its not already a runtime exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeCamelException
public RuntimeCamelException() -
RuntimeCamelException
-
RuntimeCamelException
-
RuntimeCamelException
-
-
Method Details
-
wrapRuntimeCamelException
Wraps the caused exception in aRuntimeCamelException
if its not already such an exception.- Parameters:
e
- the caused exception- Returns:
- the wrapper exception
-
wrapRuntimeException
Wraps the caused exception in aRuntimeCamelException
if its not already a runtime exception.- Parameters:
e
- the caused exception- Returns:
- the wrapper exception
-