Package org.codehaus.commons.compiler
Interface WarningHandler
-
- All Known Implementing Classes:
FilterWarningHandler
public interface WarningHandlerProcesses a warning issued by the compiler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleWarning(java.lang.String handle, java.lang.String message, Location location)May or may not choose to throw aCompileException.
-
-
-
Method Detail
-
handleWarning
void handleWarning(@Nullable java.lang.String handle, java.lang.String message, @Nullable Location location) throws CompileException
May or may not choose to throw aCompileException.- Parameters:
handle- A string describing the category of the warning; used for filtering iff non-null- Throws:
CompileException- ThisWarningHandlerwishes to terminate compilation, e.g. because "too many" warnings have been reported
-
-