|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ugos.JIProlog.engine.JIPEvent
|
+--com.ugos.JIProlog.engine.JIPErrorEvent
JIPErrorEvent is used to notify an error or an exception occured during execution.
JIPEventListener receives a JIPErrorEvent object in the method errorNotified
JIPEventListener| Field Summary | |
static int |
ID_ERROR
ID of an Error Event |
| Fields inherited from class com.ugos.JIProlog.engine.JIPEvent |
ID_CLOSE, ID_END, ID_MORE, ID_OPEN, ID_SINGLETONVARS, ID_SOLUTION, ID_UNDEFPREDICATE, ID_USERINPUTDONE, ID_WAITFORUSERINPUT |
| Method Summary | |
java.lang.String |
getError()
Gets the error message |
int |
getErrorNumber()
Gets the error number |
JIPRuntimeException |
getException()
Gets the error number |
java.lang.String |
getFileName()
Gets the file name where the error was raised |
int |
getLineNumber()
Gets the line number where the error was raised |
int |
getPosition()
Gets the position where the error was raised |
java.lang.String |
toString()
Gets a string representation of this JIPErrorEvent object |
| Methods inherited from class com.ugos.JIProlog.engine.JIPEvent |
consume, getID, getQueryHandle, getSource, getTerm, when |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ID_ERROR
| Method Detail |
public java.lang.String getError()
public java.lang.String getFileName()
public int getLineNumber()
public int getPosition()
public int getErrorNumber()
public JIPRuntimeException getException()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||