com.ugos.JIProlog.engine
Class JIPSyntaxErrorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.ugos.JIProlog.engine.JIPRuntimeException
                          |
                          +--com.ugos.JIProlog.engine.JIPSyntaxErrorException
All Implemented Interfaces:
java.io.Serializable

public class JIPSyntaxErrorException
extends JIPRuntimeException

JIPSyntaxErrorException is an exception raised by the internal parser when there is a syntax error in the string to parse.

Version:
3.0
Author:
Ugo Chirico 2004
Home Page : http://www.ugosweb.com/jiprolog
See Also:
JIPEngine, Serialized Form

Field Summary
 
Fields inherited from class com.ugos.JIProlog.engine.JIPRuntimeException
ID_UNKNOWN_EXCEPTION, ID_USER_EXCEPTION
 
Method Summary
 JIPTerm getTerm()
          Gets the error term associated to this exception
 
Methods inherited from class com.ugos.JIProlog.engine.JIPRuntimeException
getErrorNumber, getFileName, getLineNumber, getMessage, getPosition, printPrologStackTrace, printPrologStackTrace, printPrologStackTrace, setTerm
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTerm

public JIPTerm getTerm()
Gets the error term associated to this exception

Overrides:
getTerm in class JIPRuntimeException
Returns:
JIPTerm object associated to this exception