Class 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

public class RuntimeCamelException extends RuntimeException
Base class for all Camel unchecked exceptions.
See Also:
  • Constructor Details

    • RuntimeCamelException

      public RuntimeCamelException()
    • RuntimeCamelException

      public RuntimeCamelException(String message)
    • RuntimeCamelException

      public RuntimeCamelException(String message, Throwable cause)
    • RuntimeCamelException

      public RuntimeCamelException(Throwable cause)
  • Method Details

    • wrapRuntimeCamelException

      public static RuntimeCamelException wrapRuntimeCamelException(Throwable e)
      Wraps the caused exception in a RuntimeCamelException if its not already such an exception.
      Parameters:
      e - the caused exception
      Returns:
      the wrapper exception
    • wrapRuntimeException

      public static RuntimeException wrapRuntimeException(Throwable e)
      Wraps the caused exception in a RuntimeCamelException if its not already a runtime exception.
      Parameters:
      e - the caused exception
      Returns:
      the wrapper exception