All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JIP.engine.JIPErrorEvent

java.lang.Object
   |
   +----JIP.engine.JIPEvent
           |
           +----JIP.engine.JIPErrorEvent

public class JIPErrorEvent
extends JIPEvent
JIPErrorEvent is used when an error or an ecxeption raises up from the computation
The ErrorListener receieve a JIPErrorEvent object in the method errorNotified

Version:
4.x.x
Author:
Ugo Chirico 2000
Home Page : http:\\www.geocities.com\jiprolog
See Also:
JIPErrorListener, errorNotified

Variable Index

 o ID_ERROR
The ID of an Error Event

Constructor Index

 o JIPErrorEvent(JIPEngine, Integer, Throwable)
Constructor

Method Index

 o getError()
Get the error message
 o toString()
Get a string rapresentation of the event

Variables

 o ID_ERROR
 public static final int ID_ERROR
The ID of an Error Event

Constructors

 o JIPErrorEvent
 protected JIPErrorEvent(JIPEngine source,
                         Integer nHandle,
                         Throwable err)
Constructor

Parameters:
source - Source of the event
err - The error occurred

Methods

 o getError
 public String getError()
Get the error message

Parameters:
err - The error occurred
 o toString
 public String toString()
Get a string rapresentation of the event

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index