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 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 TypeMethodDescription(package private) static voidCompiler.compile(JavaCompiler compiler, List<String> options, Collection<JavaFileObject> sourceFileObjects, JavaFileManager fileManager, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) Compiles on theJavaFileManager/JavaFileObjectlevel.(package private) static voidCompiler.compile(JavaCompiler compiler, List<String> options, ResourceFinder sourceFinder, Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator, Resource[] sourceFiles, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) voidClassBodyEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidExpressionEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidScriptEvaluator.setCompileErrorHandler(ErrorHandler compileErrorHandler) voidSimpleCompiler.setCompileErrorHandler(ErrorHandler compileErrorHandler) -
Uses of ErrorHandler in org.codehaus.janino
Fields in org.codehaus.janino declared as ErrorHandlerModifier and TypeFieldDescriptionprivate ErrorHandlerJavaSourceIClassLoader.compileErrorHandlerprivate ErrorHandlerSimpleCompiler.compileErrorHandlerprivate ErrorHandlerUnitCompiler.compileErrorHandlerMethods 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.