Package org.codehaus.commons.compiler
Interface WarningHandler
-
- All Known Implementing Classes:
FilterWarningHandler
public interface WarningHandler
Processes a warning issued by the compiler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleWarning(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
- ThisWarningHandler
wishes to terminate compilation, e.g. because "too many" warnings have been reported
-
-