janino.net

org.codehaus.janino
Class Compiler.SimpleWarningHandler

java.lang.Object
  extended by 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
Compiler.SimpleWarningHandler()
           
 
Method Summary
 void handleWarning(String handle, String message, Location optionalLocation)
          May or may not choose to throw a CompileException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler.SimpleWarningHandler

public Compiler.SimpleWarningHandler()
Method Detail

handleWarning

public void handleWarning(String handle,
                          String message,
                          Location optionalLocation)
Description copied from interface: WarningHandler
May or may not choose to throw a CompileException.

Specified by:
handleWarning in interface WarningHandler
Parameters:
handle - A string describing the category of the warning

janino.net