001    /*
002     * Copyright 2010 - 2010 JEuclid, http://jeuclid.sf.net
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *      http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    
017    /* $Id: NonIncrementalElementException.java,v ae7142857f19 2010/08/11 16:54:35 max $ */
018    
019    package net.sourceforge.jeuclid.biparser;
020    
021    import org.xml.sax.SAXParseException;
022    
023    /**
024     * Exception to be thrown if the subtree contains elements which are not
025     * incrementally updatable.
026     * 
027     * @version $Revision: ae7142857f19 $
028     */
029    public class NonIncrementalElementException extends SAXParseException {
030    
031        /**
032         * 
033         */
034        private static final long serialVersionUID = 1L;
035    
036        /**
037         * Create a new NonIncrementalElementException.
038         * 
039         * @param element
040         *            element which was tried to be created.
041         */
042        public NonIncrementalElementException(final String element) {
043            super(element, null);
044        }
045    }