Class RuntimeCamelException

    • Constructor Detail

      • RuntimeCamelException

        public RuntimeCamelException()
      • RuntimeCamelException

        public RuntimeCamelException​(String message)
      • RuntimeCamelException

        public RuntimeCamelException​(String message,
                                     Throwable cause)
      • RuntimeCamelException

        public RuntimeCamelException​(Throwable cause)
    • Method Detail

      • 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