01: package com.sun.portal.dpmerge;
02:
03: import java.io.*;
04: import javax.xml.parsers.*;
05: import org.xml.sax.*;
06: import org.xml.sax.helpers.*;
07:
08: public class MyErrorHandler implements ErrorHandler {
09:
10: public void warning(SAXParseException e) throws SAXException {
11: e.printStackTrace();
12: }
13:
14: public void error(SAXParseException e) throws SAXException {
15: e.printStackTrace();
16: }
17:
18: public void fatalError(SAXParseException e) throws SAXException {
19: e.printStackTrace();
20: }
21:
22: }
|