ymsg.network.event
Class SessionExceptionEvent
Object
EventObject
SessionEvent
SessionExceptionEvent
- All Implemented Interfaces:
- Serializable
- public class SessionExceptionEvent
- extends SessionEvent
Represents an exception throw from deep within the API. These events embody
significant exceptions which occur on threads which run parallel to the
application using the API, and so have no easy way of 'bubbling up' to the
API level. This event gives the API a means of delivering such exceptions
to the application.
  |
getException |
getMessage |
inputExceptionThrown |
y |
y |
- Since:
- 1.0
- See Also:
- Serialized Form
Fields inherited from class EventObject |
source |
Method Summary |
Exception |
getException()
Return the exception for which this event was fired. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class EventObject |
getSource |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SessionExceptionEvent
public SessionExceptionEvent(Object o,
String m,
Exception e)
- Create a new instance. API users should not call this directly. The
API itself will create its own events.
- Parameters:
o
- source of event (Session
)e
- exception- Since:
- 1.0
getException
public Exception getException()
- Return the exception for which this event was fired.
- Returns:
- exception object
- Since:
- 1.0
toString
public String toString()
- Returns a string representation of this object.
- Overrides:
toString
in class SessionEvent
- Returns:
- object as a string
- Since:
- 1.0