artofillusion.script
Class ScriptException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by artofillusion.script.ScriptException
All Implemented Interfaces:
java.io.Serializable

public class ScriptException
extends java.lang.Exception

An exception thrown by the ScriptEngine interface.

See Also:
Serialized Form

Constructor Summary
ScriptException(java.lang.String message, int lineNumber)
           
ScriptException(java.lang.String message, int lineNumber, java.lang.Throwable cause)
           
 
Method Summary
 int getLineNumber()
          Get the line in the script at which the error occurred, or -1 if a specific line could not be identified.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptException

public ScriptException(java.lang.String message,
                       int lineNumber)

ScriptException

public ScriptException(java.lang.String message,
                       int lineNumber,
                       java.lang.Throwable cause)
Method Detail

getLineNumber

public int getLineNumber()
Get the line in the script at which the error occurred, or -1 if a specific line could not be identified.



Copyright © 1999-2011 by Peter Eastman.