|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for reporting XSL errors and warnings.
The error handling philosophy is as follows:
Method Summary | |
void |
error(String message)
Receive notification of an XSL error. |
int |
getErrorCount()
Returns the number of errors that have occurred so far. |
int |
getWarningCount()
Returns the number of warnings that have occurred so far. |
void |
resetCounts()
Resets the number of errors and warnings to zero. |
void |
warning(String message)
Receive notification of an XSL warning. |
Method Detail |
public int getErrorCount()
public int getWarningCount()
public void resetCounts()
public void error(String message) throws XSLException
If this method returns normally, the XSL processor will do its best to recover and continue processing. The result document may be incomplete or even empty.
If this method throws an exception, the error is fatal and the XSL processor will abort processing and propagate the exception.
message
- the error message
XSLException
- if the error is fatalpublic void warning(String message)
XSLException
since warnings are never fatal.
message
- the warning message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |