public class CloseErrorsImpl extends Object implements CloseErrors
| Constructor and Description |
|---|
CloseErrorsImpl(Object source) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeError(Object key,
Object object,
Exception cause)
Notification of a close exception
|
void |
throwIfNecessary() |
public CloseErrorsImpl(Object source)
public void closeError(Object key, Object object, Exception cause)
CloseErrorscloseError in interface CloseErrorskey - the key of the object being closed which is usually a
Key or Stringobject - the object being closedcause - the exception thrown when the close was attemptedpublic void throwIfNecessary()
throws CloseFailedException
throwIfNecessary in interface CloseErrorsCloseFailedExceptionApache Camel