-
Interfaces Interface Description org.mozilla.javascript.ContextListener Embeddings that wish to customize newly createdContext
instances should implementContextFactory.Listener
.
-
Exceptions Exceptions Description org.mozilla.javascript.ClassDefinitionException The exception is no longer thrown by Rhino runtime asEvaluatorException
is used instead.org.mozilla.javascript.NotAFunctionException The exception is no longer thrown by Rhino runtime asEvaluatorException
is used instead.org.mozilla.javascript.PropertyException This exception is no longer thrown by Rhino runtime.
-
Fields Field Description org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPRTIES In previous releases, this name was given to FEATURE_PARENT_PROTO_PROPERTIES.
-
Constructors Constructor Description org.mozilla.javascript.Context() this constructor is deprecated because it creates a dependency on a static singleton context factory. UseContextFactory.enter()
orContextFactory.call(ContextAction)
instead. If you subclass this class, consider usingContext(ContextFactory)
constructor instead in the subclasses' constructors.org.mozilla.javascript.EcmaError(Scriptable, String, int, int, String) EcmaError error instances should not be constructed explicitly since they are generated by the engine.org.mozilla.javascript.JavaScriptException(Object) UseWrappedException(Throwable)
to report exceptions in Java code.org.mozilla.javascript.NativeJavaPackage(String, ClassLoader) NativeJavaPackage is an internal class, do not use it directly.