net.kano.joscar.flap
Class FlapExceptionEvent

java.lang.Object
  extended byConnProcessorExceptionEvent
      extended byFlapExceptionEvent

public class FlapExceptionEvent
extends ConnProcessorExceptionEvent

An event fired when an exception occurs during the FLAP processing process.


Field Summary
 
Fields inherited from class ConnProcessorExceptionEvent
ERRTYPE_CMD_GEN, ERRTYPE_CMD_WRITE, ERRTYPE_CONNECTION_ERROR, ERRTYPE_PACKET_LISTENER
 
Constructor Summary
protected FlapExceptionEvent(java.lang.Object type, FlapProcessor conn, java.lang.Throwable exception, java.lang.Object reason)
          Creates a new exception event with the given properties.
 
Method Summary
 FlapProcessor getFlapProcessor()
          Returns the FLAP connection on which this exception was thrown.
 
Methods inherited from class ConnProcessorExceptionEvent
getException, getReason, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlapExceptionEvent

protected FlapExceptionEvent(java.lang.Object type,
                             FlapProcessor conn,
                             java.lang.Throwable exception,
                             java.lang.Object reason)
Creates a new exception event with the given properties.

Parameters:
type - the type or source of the thrown exception
conn - the FLAP connection on which this exception occurred
exception - the exception that was thrown
reason - a reason or description of why or how this exception was thrown
Method Detail

getFlapProcessor

public final FlapProcessor getFlapProcessor()
Returns the FLAP connection on which this exception was thrown.

Returns:
the FLAP connection associated with this exception