public class ExceptionEventHandler extends Object implements SessionEventHandler
Constructor and Description |
---|
ExceptionEventHandler(Session session) |
Modifier and Type | Method and Description |
---|---|
int |
getEventType() |
Session |
getSession() |
void |
onEvent(Event event)
On event
|
void |
setSession(Session session)
Sets the session instance on this handler.
|
private final Session session
public ExceptionEventHandler(Session session)
public void onEvent(Event event)
EventHandler
onEvent
in interface EventHandler
public int getEventType()
getEventType
in interface EventHandler
public Session getSession()
getSession
in interface SessionEventHandler
public void setSession(Session session) throws UnsupportedOperationException
SessionEventHandler
setSession
in interface SessionEventHandler
session
- The session instance to set.UnsupportedOperationException
Copyright © 2013. All Rights Reserved.