de.dante.extex.main.errorHandler
Class ErrorHandlerTeXImpl

java.lang.Object
  extended byde.dante.extex.main.errorHandler.ErrorHandlerImpl
      extended byde.dante.extex.main.errorHandler.ErrorHandlerTeXImpl
All Implemented Interfaces:
ErrorHandler, Localizable, LogEnabled

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: 1.5 $
Author:
Gerd Neugebauer

Field Summary
 
Fields inherited from class de.dante.extex.main.errorHandler.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 de.dante.extex.main.errorHandler.ErrorHandlerImpl
enableLocalization, 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)
Description copied from class: ErrorHandlerImpl
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, de.dante.util.Locator)