## Uses of Class
org.apache.bsf.BSFException

- Packages that use BSFException
  Package | Description
  --- | ---
  org.apache.bsf |
  org.apache.bsf.engines.jacl |
  org.apache.bsf.engines.java |
  org.apache.bsf.engines.javaclass |
  org.apache.bsf.engines.javascript |
  org.apache.bsf.engines.jython |
  org.apache.bsf.engines.netrexx |
  org.apache.bsf.engines.xslt |
  org.apache.bsf.test |
  org.apache.bsf.test.utilTests |
  org.apache.bsf.util |

- - ### Uses of BSFException in org.apache.bsf

    Methods in org.apache.bsf that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | BSFEngine.`apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` This is used by an application to invoke an anonymous function.
    `java.lang.Object` | BSFManager.`apply(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Apply the given anonymous function of the given language to the given parameters and return the resulting value.
    `java.lang.Object` | BSFEngine.`call(java.lang.Object object, java.lang.String name, java.lang.Object[] args)` This is used by an application to call into the scripting engine to make a function/method call.
    `void` | BSFEngine.`compileApply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` This is used by an application to compile an anonymous function.
    `void` | BSFManager.`compileApply(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` Compile the application of the given anonymous function of the given language to the given parameters into the given `CodeBuffer`.
    `void` | BSFEngine.`compileExpr(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` This is used by an application to compile a value-returning expression.
    `void` | BSFManager.`compileExpr(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` Compile the given expression of the given language into the given `CodeBuffer`.
    `void` | BSFEngine.`compileScript(java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` This is used by an application to compile some script.
    `void` | BSFManager.`compileScript(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` Compile the given script of the given language into the given `CodeBuffer`.
    `void` | BSFEngine.`declareBean(BSFDeclaredBean bean)` Declare a bean after the engine has been started.
    `void` | BSFManager.`declareBean(java.lang.String beanName, java.lang.Object bean, java.lang.Class type)` Declare a bean.
    `java.lang.Object` | BSFEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr)` This is used by an application to evaluate an expression.
    `java.lang.Object` | BSFManager.`eval(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object expr)` Evaluate the given expression of the given language and return the resulting value.
    `void` | BSFEngine.`exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` This is used by an application to execute some script.
    `void` | BSFManager.`exec(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute the given script of the given language.
    `static java.lang.String` | BSFManager.`getLangFromFilename(java.lang.String fileName)` Determine the language of a script file by looking at the file extension.
    `void` | BSFEngine.`iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` This is used by an application to execute some script, as though one were interacting with the language in an interactive session.
    `void` | BSFManager.`iexec(java.lang.String lang, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute the given script of the given language, attempting to emulate an interactive session w/ the language.
    `void` | BSFEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` This method is used to initialize the engine right after construction.
    `BSFEngine` | BSFManager.`loadScriptingEngine(java.lang.String lang)` Load a scripting engine based on the lang string identifying it.
    `void` | BSFEngine.`undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.
    `void` | BSFManager.`undeclareBean(java.lang.String beanName)` Undeclare a previously declared bean.

  - ### Uses of BSFException in org.apache.bsf.engines.jacl

    Methods in org.apache.bsf.engines.jacl that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | JaclEngine.`call(java.lang.Object obj, java.lang.String method, java.lang.Object[] args)`
    `void` | JaclEngine.`declareBean(BSFDeclaredBean bean)` Declare a bean
    `java.lang.Object` | JaclEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate a string containing some expression.
    `void` | JaclEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
    `void` | JaclEngine.`undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.

  - ### Uses of BSFException in org.apache.bsf.engines.java

    Methods in org.apache.bsf.engines.java that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | JavaEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)`
    `void` | JavaEngine.`compileScript(java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)`
    `java.lang.Object` | JavaEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate a string containing some expression.
    `void` | JavaEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)`

  - ### Uses of BSFException in org.apache.bsf.engines.javaclass

    Methods in org.apache.bsf.engines.javaclass that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | JavaClassEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` call the named method of the given object.
    `java.lang.Object` | JavaClassEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate an object containing some expression - clearly not possible for compiled code ..

  - ### Uses of BSFException in org.apache.bsf.engines.javascript

    Methods in org.apache.bsf.engines.javascript that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | JavaScriptEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` Return an object from an extension.
    `void` | JavaScriptEngine.`declareBean(BSFDeclaredBean bean)`
    `java.lang.Object` | JavaScriptEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` This is used by an application to evaluate a string containing some expression.
    `void` | JavaScriptEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
    `void` | JavaScriptEngine.`undeclareBean(BSFDeclaredBean bean)`

  - ### Uses of BSFException in org.apache.bsf.engines.jython

    Methods in org.apache.bsf.engines.jython that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | JythonEngine.`apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Evaluate an anonymous function (differs from eval() in that apply() handles multiple lines).
    `java.lang.Object` | JythonEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` call the named method of the given object.
    `void` | JythonEngine.`declareBean(BSFDeclaredBean bean)` Declare a bean
    `java.lang.Object` | JythonEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Evaluate an expression.
    `void` | JythonEngine.`exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute a script.
    `void` | JythonEngine.`iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Execute script code, emulating console interaction.
    `void` | JythonEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
    `void` | JythonEngine.`undeclareBean(BSFDeclaredBean bean)` Undeclare a previously declared bean.

  - ### Uses of BSFException in org.apache.bsf.engines.netrexx

    Methods in org.apache.bsf.engines.netrexx that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | NetRexxEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` Return an object from an extension.
    `void` | NetRexxEngine.`declareBean(BSFDeclaredBean bean)`
    `java.lang.Object` | NetRexxEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Override impl of execute.
    `void` | NetRexxEngine.`exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Override impl of execute.
    `java.lang.Object` | NetRexxEngine.`execEvalShared(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript, boolean returnsObject)` This is shared code for the exec() and eval() operations.
    `void` | NetRexxEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)`
    `void` | NetRexxEngine.`undeclareBean(BSFDeclaredBean bean)`

  - ### Uses of BSFException in org.apache.bsf.engines.xslt

    Methods in org.apache.bsf.engines.xslt that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | XSLTEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)` call the named method of the given object.
    `void` | XSLTEngine.`declareBean(BSFDeclaredBean bean)` Declare a bean by setting it as a parameter
    `java.lang.Object` | XSLTEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object oscript)` Evaluate an expression.
    `void` | XSLTEngine.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` Initialize the engine.
    `void` | XSLTEngine.`undeclareBean(BSFDeclaredBean bean)` Undeclare a bean by setting he parameter represeting it to null

  - ### Uses of BSFException in org.apache.bsf.test

    Methods in org.apache.bsf.test that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | fakeEngine.`call(java.lang.Object object, java.lang.String method, java.lang.Object[] args)`
    `java.lang.Object` | fakeEngine.`eval(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr)`
    `void` | fakeEngine.`exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)`
    `void` | fakeEngine.`iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)`

  - ### Uses of BSFException in org.apache.bsf.test.utilTests

    Methods in org.apache.bsf.test.utilTests that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `void` | EngineUtilsTest.`testCreateBean()`

  - ### Uses of BSFException in org.apache.bsf.util

    Methods in org.apache.bsf.util that throw BSFException
    Modifier and Type | Method and Description
    --- | ---
    `static void` | EngineUtils.`addEventListener(java.lang.Object bean, java.lang.String eventSetName, java.lang.String filter, BSFEngine engine, BSFManager manager, java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Add a script as a listener to some event coming out of an object.
    `void` | BSFFunctions.`addEventListener(java.lang.Object src, java.lang.String eventSetName, java.lang.String filter, java.lang.Object script)`
    `static void` | EngineUtils.`addEventListenerReturningEventInfos(java.lang.Object bean, java.lang.String eventSetName, java.lang.String filter, BSFEngine engine, BSFManager manager, java.lang.String source, int lineNo, int columnNo, java.lang.Object script, java.lang.Object dataFromScriptingEngine)` Add a script as a listener to some event coming out of an object.
    `java.lang.Object` | BSFEngineImpl.`apply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments)` Default impl of apply - calls eval ignoring parameters and returns the result.
    `static java.lang.Object` | EngineUtils.`callBeanMethod(java.lang.Object bean, java.lang.String methodName, java.lang.Object[] args)` Finds and invokes a method with the given signature on the given bean.
    `void` | BSFEngineImpl.`compileApply(java.lang.String source, int lineNo, int columnNo, java.lang.Object funcBody, java.util.Vector paramNames, java.util.Vector arguments, CodeBuffer cb)` Default impl of compileApply - calls compileExpr ignoring parameters.
    `void` | BSFEngineImpl.`compileExpr(java.lang.String source, int lineNo, int columnNo, java.lang.Object expr, CodeBuffer cb)` Default impl of compileExpr - generates code that'll create a new manager, evaluate the expression, and return the value.
    `void` | BSFEngineImpl.`compileScript(java.lang.String source, int lineNo, int columnNo, java.lang.Object script, CodeBuffer cb)` Default impl of compileScript - generates code that'll create a new manager, and execute the script.
    `static java.lang.Object` | EngineUtils.`createBean(java.lang.String className, java.lang.Object[] args)` Creates a new bean.
    `void` | BSFEngineImpl.`declareBean(BSFDeclaredBean bean)`
    `void` | BSFEngineImpl.`exec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Default impl of execute - calls eval and ignores the result.
    `void` | BSFEngineImpl.`iexec(java.lang.String source, int lineNo, int columnNo, java.lang.Object script)` Default impl of interactive execution - calls eval and ignores the result.
    `void` | BSFEngineImpl.`initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans)` initialize the engine; called right after construction by the manager.
    `static java.lang.Class` | EngineUtils.`loadClass(BSFManager mgr, java.lang.String name)` Loads a class using the following sequence of class loaders: Thread's context class loader, settable class loader stored with BSFManager, BSFManager's defining class loader, BSF customized class loader (from the BSFManager's temporary directory).
    `void` | BSFEngineImpl.`undeclareBean(BSFDeclaredBean bean)`