com.ugos.JIProlog.engine
Class JIPJVMException

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

public class JIPJVMException
extends JIPRuntimeException

JIPJVMException is the exception raised by the interpreter when a Java generic exception is raised during execution.

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

Field Summary
 
Fields inherited from class com.ugos.JIProlog.engine.JIPRuntimeException
ID_UNKNOWN_EXCEPTION, ID_USER_EXCEPTION
 
Constructor Summary
JIPJVMException(java.lang.Throwable ex)
          Constructs a new JIPJVMException
 
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

JIPJVMException

public JIPJVMException(java.lang.Throwable ex)
Constructs a new JIPJVMException

Parameters:
ex - the JVM exception thrown
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 exceptstrMessageXion