com.haley.haleyrules.jsr94
Class SimpleErrorListener

java.lang.Object
  |
  +--com.haley.haleyrules.jsr94.SimpleErrorListener
All Implemented Interfaces:
com.haley.haleyrules.ErrorListener, java.util.EventListener

public class SimpleErrorListener
extends java.lang.Object
implements com.haley.haleyrules.ErrorListener

This class is a simple implementation of the com.haley.haleyrules.ErrorListener interface. The ErrorListener interface allows an object to receive messages from Eclipse on several error conditions. For example, an error listener receives messages when an Eclipse function is called with the incorrect arguments from within the conditions or actions of a rule. An implementation of ErrorListener can be added to a KnowledgeBase to receive the messages generated by Eclipse.

See Also:
ErrorListener

Constructor Summary
SimpleErrorListener()
           
 
Method Summary
 void onWarning(java.lang.String message)
          This method is called in the event that a non-fatal condition is flagged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleErrorListener

public SimpleErrorListener()
Method Detail

onWarning

public void onWarning(java.lang.String message)
This method is called in the event that a non-fatal condition is flagged.
Specified by:
onWarning in interface com.haley.haleyrules.ErrorListener
Parameters:
message - String message


Copyright © 2005-2006 Haley Systems, Inc. All Rights Reserved.