Class ErrorHandlerTokenizer

  • All Implemented Interfaces:
    ErrorHandler

    public class ErrorHandlerTokenizer
    extends java.lang.Object
    implements ErrorHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(java.lang.String message, long line, long col)
      report an error : May not return (depends on error handler policy)
      void fatal​(java.lang.String message, long line, long col)
      report a catastrophic error.
      void warning​(java.lang.String message, long line, long col)
      report a warning
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorHandlerTokenizer

        public ErrorHandlerTokenizer()
    • Method Detail

      • warning

        public void warning​(java.lang.String message,
                            long line,
                            long col)
        Description copied from interface: ErrorHandler
        report a warning
        Specified by:
        warning in interface ErrorHandler
      • error

        public void error​(java.lang.String message,
                          long line,
                          long col)
        Description copied from interface: ErrorHandler
        report an error : May not return (depends on error handler policy)
        Specified by:
        error in interface ErrorHandler
      • fatal

        public void fatal​(java.lang.String message,
                          long line,
                          long col)
        Description copied from interface: ErrorHandler
        report a catastrophic error. Must not return.
        Specified by:
        fatal in interface ErrorHandler