diff options
author | cbridgha | 2008-11-13 19:02:03 +0000 |
---|---|---|
committer | cbridgha | 2008-11-13 19:02:03 +0000 |
commit | c5e3b07193f10d3efeff58cc135bdf53917d19e2 (patch) | |
tree | 81dd5c4ab00ffa8e1bb9af3dbe997b4a1273c896 /plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java | |
parent | 4be1d718efaef4f4e6d09cb97a57717963e9a1d1 (diff) | |
download | webtools.javaee-200811131902.tar.gz webtools.javaee-200811131902.tar.xz webtools.javaee-200811131902.zip |
This commit was manufactured by cvs2svn to create tag 'v200811131902'.v200811131902
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java deleted file mode 100644 index 31337e73b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/xml/CollectingErrorHandler.java +++ /dev/null @@ -1,61 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.internal.xml; - - - -import java.util.ArrayList; -import java.util.List; - -import org.xml.sax.ErrorHandler; -import org.xml.sax.SAXException; -import org.xml.sax.SAXParseException; -/** - * Insert the type's description here. - * Creation date: (03/19/01 11:10:38 AM) - * @author: Administrator - */ -public class CollectingErrorHandler implements ErrorHandler { - protected List caughtExceptions; -/** - * CollectingErrorHandler constructor comment. - */ -public CollectingErrorHandler() { - super(); -} -/** - * @see org.xml.sax.ErrorHandler - */ -public void error(SAXParseException exception) throws SAXException { - getCaughtExceptions().add(exception); -} -/** - * @see org.xml.sax.ErrorHandler - */ -public void fatalError(SAXParseException exception) throws SAXException { - getCaughtExceptions().add(exception); -} -public List getCaughtExceptions() { - if (caughtExceptions == null) { - caughtExceptions = new ArrayList(); - } - return caughtExceptions; -} - -/** - * @see org.xml.sax.ErrorHandler - */ -public void warning(SAXParseException exception) throws SAXException { - getCaughtExceptions().add(exception); -} -} - - |