|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an error reporter for reporting HTML errors. There is no such
thing as a fatal error in parsing HTML. I/O errors are fatal but should
throw an IOException
directly instead of reporting an error.
When used in a configuration, the error reporter instance should be set as a property with the following property identifier:
"http://cyberneko.org/html/internal/error-reporter" in theComponents in the configuration can query the error reporter using this property identifier.
Note: All reported errors are within the domain "http://cyberneko.org/html".
Method Summary | |
String |
formatMessage(String key,
Object[] args)
Format message without reporting error. |
void |
reportError(String key,
Object[] args)
Reports an error. |
void |
reportWarning(String key,
Object[] args)
Reports a warning. |
Method Detail |
public String formatMessage(String key, Object[] args)
public void reportWarning(String key, Object[] args) throws XMLParseException
XMLParseException
public void reportError(String key, Object[] args) throws XMLParseException
XMLParseException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |