org.extex.main.tex
Class ErrorHandlerTeXImpl

java.lang.Object
  extended by org.extex.main.tex.ErrorHandlerImpl
      extended by org.extex.main.tex.ErrorHandlerTeXImpl
All Implemented Interfaces:
LogEnabled, ErrorHandler

public class ErrorHandlerTeXImpl
extends ErrorHandlerImpl

This is the error handler in TeX compatibility mode: the message is presented in a TeX-compatible way. The output is written out via the Logger.

Version:
$Revision: 6447 $
Author:
Gerd Neugebauer

Field Summary
 
Fields inherited from class org.extex.main.tex.ErrorHandlerImpl
NL
 
Constructor Summary
ErrorHandlerTeXImpl()
          Creates a new object.
 
Method Summary
protected  void showErrorLine(java.util.logging.Logger logger, java.lang.String message, Locator locator)
          This method is invoked to present the current line causing the error.
 
Methods inherited from class org.extex.main.tex.ErrorHandlerImpl
enableLogging, handleDebug, handleError, promptAndReadLine, setEditHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerTeXImpl

public ErrorHandlerTeXImpl()
Creates a new object.

Method Detail

showErrorLine

protected void showErrorLine(java.util.logging.Logger logger,
                             java.lang.String message,
                             Locator locator)
This method is invoked to present the current line causing the error.

Overrides:
showErrorLine in class ErrorHandlerImpl
Parameters:
logger - the logger to use for output
message - the error message
locator - the locator for the error position
See Also:
ErrorHandlerImpl.showErrorLine( java.util.logging.Logger, java.lang.String, org.extex.core.Locator)