Hh
POLITECHNIKA RZESZOWSKA - Wydział Elektrotechniki I Informatyki
class MyHandler implements ErrorHandler {
public void warning(SAXParseException e) {
System.out.println("Line: " + e.getLineNumber() +
" Warning: " + e.getMessagoO)?
}
public void error(SAXParseException e) {
System.out.println("Linę: " + e.getLineNumber() +
" Error: " + e.getMessage());
}
public void fatalError(SAXParseException e> {
System.out.println("Line: " + e.getLineNumber() +
" Fatal error: " + e.getMessage());
Copyright© 2012 Jan PROKOP