org.fosstrak.llrp.commander
Class ExceptionHandler

java.lang.Object
  extended by org.fosstrak.llrp.commander.ExceptionHandler
All Implemented Interfaces:
LLRPExceptionHandler

public class ExceptionHandler
extends java.lang.Object
implements LLRPExceptionHandler

Exception Handler that processes Exceptions triggered in the AdaptorManagement. The Exceptions get reported via a dialog box to the user.

Author:
zhanghao, sawielan

Constructor Summary
ExceptionHandler(org.eclipse.swt.widgets.Shell aShell)
           
 
Method Summary
 void postExceptionToGUI(LLRPExceptionHandlerTypeMap exceptionType, LLRPRuntimeException e, java.lang.String adaptorName, java.lang.String readerName)
          This method will be called asynchronously whenever an Exception is triggered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler(org.eclipse.swt.widgets.Shell aShell)
Method Detail

postExceptionToGUI

public void postExceptionToGUI(LLRPExceptionHandlerTypeMap exceptionType,
                               LLRPRuntimeException e,
                               java.lang.String adaptorName,
                               java.lang.String readerName)
Description copied from interface: LLRPExceptionHandler
This method will be called asynchronously whenever an Exception is triggered.

Specified by:
postExceptionToGUI in interface LLRPExceptionHandler
Parameters:
exceptionType - a type-map describing the exception.
e - the exception itself.
adaptorName - the adapter that triggered the exception.
readerName - the reader that triggered the exception.


Copyright © 2009. All Rights Reserved.