Class Text2Udom.ErrorStrategy

java.lang.Object
eu.bandm.tools.d2d2.base.Text2Udom.ErrorStrategy
Enclosing class:
Text2Udom

public static class Text2Udom.ErrorStrategy extends Object
Configuration object for the different ways of reacting to input errors. Please note: is READ also by higher levels, e.g. for file handling and disabling error checks.
  • Field Details

    • printContext

      public int printContext
      !=0 means we are in an interactive run mode.
      ==1 print stack information to every error message.
      ==2 additionally: print the document generated so far at the end of the parsing attempt
    • diagnosisMarkUp

      public DiagnosisMarkUp diagnosisMarkUp
      The configuration info for the interactive acsii-graphic output
    • diagnosisPrinter

      public PrintWriter diagnosisPrinter
      Where to send the stack info
    • errorsUntilBreak

      public int errorsUntilBreak
      After how many errors to stop execution. "-1" means "no limit".
    • partialDocs

      public boolean partialDocs
      Whether erroneous output documents may be produced.
  • Constructor Details

    • ErrorStrategy

      public ErrorStrategy()