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 ClassesModifier and TypeInterfaceDescriptionstatic final class
The default error handler will simply log to standard out and print the stack trace if available. -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(PublicationError error) Handle the given publication error.
-
Method Details
-
handleError
Handle the given publication error.- Parameters:
error
- The PublicationError to handle.
-