public class CamelUnitOfWorkException extends CamelExchangeException
UnitOfWork
failed with a number of caused exceptions.
This implementation will provide the first exception from the list in its cause, so its shown
in the stacktrace etc when logging this exception. But the remainder exceptions is only available
from the getCauses()
method.Constructor and Description |
---|
CamelUnitOfWorkException(Exchange exchange,
List<Exception> causes) |
Modifier and Type | Method and Description |
---|---|
List<Exception> |
getCauses() |
createExceptionMessage, getExchange
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Apache Camel