Uses of Interface
org.codehaus.commons.compiler.ErrorHandler
Packages that use ErrorHandler
Package
Description
This package declares interfaces for the implementation of an
IExpressionEvaluator, an IScriptEvaluator, an
IClassBodyEvaluator and an ISimpleCompiler.An implementation of the
org.codehaus.commons.compiler API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).Restricts the APIs that compiled, untrusted code may use, by verifying the generated bytecode against an allowlist
before it is loaded (
SandboxPolicy), and limits the CPU time and the
memory that the code consumes (SandboxExecutor).The core of the Janino Java compiler.
-
Uses of ErrorHandler in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as ErrorHandlerModifier and TypeFieldDescriptionprotected ErrorHandlerAbstractCompiler.compileErrorHandlerStores the value configured withAbstractCompiler.setCompileErrorHandler(ErrorHandler).Methods in org.codehaus.commons.compiler with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidAbstractCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidIClassBodyEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) Installs anErrorHandlerwhich is invoked during compilation on each error.voidICompiler.setCompileErrorHandler(ErrorHandler errorHandler) Installs anErrorHandlerwhich is invoked during compilation on each error.voidIExpressionEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) Installs anErrorHandlerwhich is invoked during compilation on each error.voidIScriptEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) Installs anErrorHandlerwhich is invoked during compilation on each error.voidISimpleCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) Installs anErrorHandlerwhich is invoked during compilation on each error. -
Uses of ErrorHandler in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidClassBodyEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidExpressionEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidScriptEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidSimpleCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) -
Uses of ErrorHandler in org.codehaus.commons.compiler.sandbox
Methods in org.codehaus.commons.compiler.sandbox with parameters of type ErrorHandlerModifier and TypeMethodDescriptionSandboxViolationException.toCompileException(ErrorHandler compileErrorHandler) Reports the violations through the compileErrorHandler (if any), one by one, and returns aCompileExceptionfor the caller to throw, with this exception as its cause. -
Uses of ErrorHandler in org.codehaus.janino
Methods in org.codehaus.janino with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidClassBodyEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidExpressionEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidJavaSourceClassLoader.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidJavaSourceIClassLoader.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidScriptEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidSimpleCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidUnitCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) By default,CompileExceptions are thrown on compile errors, but an application my install its own (thread-local)ErrorHandler.