Secure iNet Factory

com.jscape.inet.terminal.events
Class ExceptionEvent

java.lang.Object
  extended by com.jscape.inet.terminal.events.ExceptionEvent
All Implemented Interfaces:
TerminalEvent

public class ExceptionEvent
extends java.lang.Object
implements TerminalEvent

Represents Terminal exception event. This event is generated when any exception occured. Holds information about exception.


Constructor Summary
ExceptionEvent(java.lang.Exception ex)
          Creates ExceptionEvent object giving occured exception.
 
Method Summary
 void accept(TerminalListener listener)
          Calls correct callback method of TerminalListener object.
 java.lang.Exception getException()
          Returns exception.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionEvent

public ExceptionEvent(java.lang.Exception ex)
Creates ExceptionEvent object giving occured exception.

Parameters:
ex - exception.
Method Detail

getException

public java.lang.Exception getException()
Returns exception.

Returns:
exception.

accept

public void accept(TerminalListener listener)
Calls correct callback method of TerminalListener object.

Specified by:
accept in interface TerminalEvent
Parameters:
listener - TerminalListener object.

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved