| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.xml.ZeroToleranceErrorHandler
ErrorHandler that doesn't tolerate any errors. Any errors reported get thrown as exceptions. Ignores warnings. Also optionally logs events.
| Constructor Summary | |
ZeroToleranceErrorHandler()
Construct an error handler that doesn't log errors  | 
|
ZeroToleranceErrorHandler(Level level)
Construct an error handler that logs all errors and warnings at the given level  | 
|
ZeroToleranceErrorHandler(Level errorLevel,
                          Level warningLevel)
Construct an error handler that logs all errors and warnings at the given levels  | 
|
| Method Summary | |
 void | 
error(SAXParseException ex)
 | 
 void | 
fatalError(SAXParseException ex)
 | 
 void | 
warning(SAXParseException ex)
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ZeroToleranceErrorHandler()
public ZeroToleranceErrorHandler(Level level)
level - level to log errors and warnings
public ZeroToleranceErrorHandler(Level errorLevel,
                                 Level warningLevel)
errorLevel - level to log errorswarningLevel - level to log warnings| Method Detail | 
public void error(SAXParseException ex)
           throws SAXException
error in interface ErrorHandlerSAXException
public void fatalError(SAXParseException ex)
                throws SAXException
fatalError in interface ErrorHandlerSAXException
public void warning(SAXParseException ex)
             throws SAXException
warning in interface ErrorHandlerSAXException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||