public interface CloseErrors
Modifier and Type | Method and Description |
---|---|
void |
closeError(Object key,
Object object,
Exception cause)
Notification of a close exception
|
void |
throwIfNecessary() |
void closeError(Object key, Object object, Exception cause)
key
- the key of the object being closed which is usually a
Key
or String
object
- the object being closedcause
- the exception thrown when the close was attemptedvoid throwIfNecessary() throws CloseFailedException
CloseFailedException
Apache Camel