public class RuntimeCamelException extends RuntimeException
Constructor and Description |
---|
RuntimeCamelException() |
RuntimeCamelException(String message) |
RuntimeCamelException(String message,
Throwable cause) |
RuntimeCamelException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static RuntimeCamelException |
wrapRuntimeCamelException(Throwable e)
Wraps the caused exception in a
RuntimeCamelException if its not already such an exception. |
static RuntimeException |
wrapRuntimeException(Throwable e)
Wraps the caused exception in a
RuntimeCamelException if its not already a runtime exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RuntimeCamelException()
public RuntimeCamelException(String message)
public RuntimeCamelException(Throwable cause)
public static RuntimeCamelException wrapRuntimeCamelException(Throwable e)
RuntimeCamelException
if its not already such an exception.e
- the caused exceptionpublic static RuntimeException wrapRuntimeException(Throwable e)
RuntimeCamelException
if its not already a runtime exception.e
- the caused exceptionApache Camel