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).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 ErrorHandler
AbstractCompiler.compileErrorHandler
Stores the value configured withAbstractCompiler.setCompileErrorHandler(ErrorHandler)
.Methods in org.codehaus.commons.compiler with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoid
AbstractCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
IClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
ICompiler.setCompileErrorHandler
(ErrorHandler errorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
IExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
IScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which is invoked during compilation on each error.void
ISimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) Installs anErrorHandler
which 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 TypeMethodDescription(package private) static void
Compiler.compile
(JavaCompiler compiler, List<String> options, Collection<JavaFileObject> sourceFileObjects, JavaFileManager fileManager, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) Compiles on theJavaFileManager
/JavaFileObject
level.(package private) static void
Compiler.compile
(JavaCompiler compiler, List<String> options, ResourceFinder sourceFinder, Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator, Resource[] sourceFiles, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) void
ClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
SimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) -
Uses of ErrorHandler in org.codehaus.janino
Fields in org.codehaus.janino declared as ErrorHandlerModifier and TypeFieldDescriptionprivate ErrorHandler
JavaSourceIClassLoader.compileErrorHandler
private ErrorHandler
SimpleCompiler.compileErrorHandler
private ErrorHandler
UnitCompiler.compileErrorHandler
Methods in org.codehaus.janino with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoid
ClassBodyEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ExpressionEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
JavaSourceClassLoader.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
JavaSourceIClassLoader.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
ScriptEvaluator.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
SimpleCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) void
UnitCompiler.setCompileErrorHandler
(ErrorHandler compileErrorHandler) By default,CompileException
s are thrown on compile errors, but an application my install its own (thread-local)ErrorHandler
.