Class Compiler.SimpleWarningHandler

  • All Implemented Interfaces:
    WarningHandler
    Enclosing class:
    Compiler

    public static class Compiler.SimpleWarningHandler
    extends java.lang.Object
    implements WarningHandler
    Prints warnings to STDERR.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleWarning​(java.lang.String handle, java.lang.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

      • SimpleWarningHandler

        public SimpleWarningHandler()
    • Method Detail

      • handleWarning

        public void handleWarning​(java.lang.String handle,
                                  java.lang.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