Package org.codehaus.janino
Class Compiler.SimpleWarningHandler
- java.lang.Object
-
- org.codehaus.janino.Compiler.SimpleWarningHandler
-
- All Implemented Interfaces:
WarningHandler
- Enclosing class:
- Compiler
public static class Compiler.SimpleWarningHandler extends Object implements WarningHandler
Prints warnings to STDERR.
-
-
Constructor Summary
Constructors Constructor Description SimpleWarningHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleWarning(String handle, String message, Location optionalLocation)May or may not choose to throw aCompileException.
-
-
-
Method Detail
-
handleWarning
public void handleWarning(String handle, String message, Location optionalLocation)
Description copied from interface:WarningHandlerMay or may not choose to throw aCompileException.- Specified by:
handleWarningin interfaceWarningHandler- Parameters:
handle- A string describing the category of the warning
-
-