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 void
handleWarning(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:WarningHandler
May or may not choose to throw aCompileException
.- Specified by:
handleWarning
in interfaceWarningHandler
- Parameters:
handle
- A string describing the category of the warning
-
-