Package net.engio.mbassy.bus.error
Interface IPublicationErrorHandler
-
- All Known Implementing Classes:
IPublicationErrorHandler.ConsoleLogger
public interface IPublicationErrorHandler
Publication error handlers are provided with a publication error every time an error occurs during message publication. A handler might fail with an exception, not be accessible because of the presence of a security manager or other reasons might lead to failures during the message publication process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IPublicationErrorHandler.ConsoleLogger
The default error handler will simply log to standard out and print the stack trace if available.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleError(PublicationError error)
Handle the given publication error.
-
-
-
Method Detail
-
handleError
void handleError(PublicationError error)
Handle the given publication error.- Parameters:
error
- The PublicationError to handle.
-
-