KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > stringposervice > POXMLErrorHandler


1 /* Copyright 2005 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at:
2  http://developer.sun.com/berkeley_license.html
3  $Id: POXMLErrorHandler.java,v 1.1 2005/08/11 06:40:57 smitha Exp $ */

4
5 package com.sun.j2ee.blueprints.stringposervice;
6
7 import org.xml.sax.*;
8
9 public class POXMLErrorHandler implements ErrorHandler {
10     
11     public void warning(SAXParseException ex) throws SAXException {
12         return;
13     }
14     
15     public void error(SAXParseException ex) throws SAXException {
16         throw ex;
17     }
18     
19     public void fatalError(SAXParseException ex) throws SAXException {
20         throw ex;
21     }
22 }
23
Popular Tags