example
Class MyISYErrorHandler

java.lang.Object
  extended by example.MyISYErrorHandler
All Implemented Interfaces:
ErrorEventListener

public class MyISYErrorHandler
extends java.lang.Object
implements ErrorEventListener


Constructor Summary
MyISYErrorHandler()
           
 
Method Summary
 boolean errorOccured(int status, java.lang.String msg, java.lang.Object device)
          This method is invoked when ISY encounters an error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyISYErrorHandler

public MyISYErrorHandler()
Method Detail

errorOccured

public boolean errorOccured(int status,
                            java.lang.String msg,
                            java.lang.Object device)
This method is invoked when ISY encounters an error

Specified by:
errorOccured in interface ErrorEventListener
Parameters:
status - - the error code
msg - - any generated messages by ISYClient
device - - the UDProxyDevice initiating this event
Returns:
- whether or not the client attempt displaying the error on a UI. if a GUIErrorHandler is installed, that object is invoked (showError)