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, NoSuchServiceException, 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 RuntimeCamelExceptionWraps the caused exception in aRuntimeCamelExceptionif its not already such an exception.static RuntimeExceptionWraps the caused exception in aRuntimeCamelExceptionif its not already a runtime exception.Methods inherited from class 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 aRuntimeCamelExceptionif its not already such an exception.- Parameters:
e- the caused exception- Returns:
- the wrapper exception
-
wrapRuntimeException
Wraps the caused exception in aRuntimeCamelExceptionif its not already a runtime exception.- Parameters:
e- the caused exception- Returns:
- the wrapper exception
-