Package mondrian.tui
Class XmlUtil.SaxErrorHandler
java.lang.Object
mondrian.tui.XmlUtil.SaxErrorHandler
- All Implemented Interfaces:
ErrorHandler
- Enclosing class:
- XmlUtil
Error handler plus helper methods.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) static String
static String
boolean
void
void
warning
(SAXParseException exception)
-
Field Details
-
WARNING_STRING
- See Also:
-
ERROR_STRING
- See Also:
-
FATAL_ERROR_STRING
- See Also:
-
SEVERITY_WARNING
public static final short SEVERITY_WARNING- See Also:
-
SEVERITY_ERROR
public static final short SEVERITY_ERROR- See Also:
-
SEVERITY_FATAL_ERROR
public static final short SEVERITY_FATAL_ERROR- See Also:
-
-
Constructor Details
-
SaxErrorHandler
public SaxErrorHandler()
-
-
Method Details
-
printErrorInfos
-
formatErrorInfos
-
formatErrorInfo
-
getErrors
-
hasErrors
public boolean hasErrors() -
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
addError
-
getFirstError
-