com.ugos.JIProlog.engine
Class JIPParameterUnboundedException

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

public class JIPParameterUnboundedException
extends JIPRuntimeException

Exception raised when a built-in predicate find an unexpected unbonded variable.

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

Field Summary
 
Fields inherited from class com.ugos.JIProlog.engine.JIPRuntimeException
ID_UNKNOWN_EXCEPTION, ID_USER_EXCEPTION
 
Constructor Summary
JIPParameterUnboundedException(int nParam)
          Constructor Constructs a new JIPParameterUnboundedException
 
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
 

Constructor Detail

JIPParameterUnboundedException

public JIPParameterUnboundedException(int nParam)
Constructor Constructs a new JIPParameterUnboundedException

Parameters:
nParam - the index of the bad parameter
See Also:
JIPTerm
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