Package eu.bandm.tools.d2d2.base
Class Text2Udom.ErrorStrategy
java.lang.Object
eu.bandm.tools.d2d2.base.Text2Udom.ErrorStrategy
- Enclosing class:
- Text2Udom
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 Summary
Modifier and TypeFieldDescriptionThe configuration info for the interactive acsii-graphic outputWhere to send the stack infoint
After how many errors to stop execution.boolean
Whether erroneous output documents may be produced.int
!=0 means we are in an interactive run mode. -
Constructor Summary
-
Method Summary
-
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
The configuration info for the interactive acsii-graphic output -
diagnosisPrinter
Where to send the stack info -
errorsUntilBreak
public int errorsUntilBreakAfter how many errors to stop execution. "-1" means "no limit". -
partialDocs
public boolean partialDocsWhether erroneous output documents may be produced.
-
-
Constructor Details
-
ErrorStrategy
public ErrorStrategy()
-