Class Session.ErrorHandler.Default
java.lang.Object
com.pushtechnology.diffusion.client.session.Session.ErrorHandler.Default
- All Implemented Interfaces:
Session.ErrorHandler
- Enclosing interface:
- Session.ErrorHandler
Default
Session.ErrorHandler
implementation which simply logs errors
at error level.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pushtechnology.diffusion.client.session.Session.ErrorHandler
Session.ErrorHandler.Default
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onError
(Session session, Session.SessionError error) Called when an error has occurred.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
onError
Description copied from interface:Session.ErrorHandler
Called when an error has occurred.- Specified by:
onError
in interfaceSession.ErrorHandler
- Parameters:
session
- the sessionerror
- the error detail
-