001    /*
002     * Copyright 2002 - 2006 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: UnknownAttributeException.java,v 88b901bf20fb 2008/06/07 14:12:27 maxberger $ */
018    
019    package net.sourceforge.jeuclid.elements.support.operatordict;
020    
021    /**
022     * This is just a marker class.
023     * 
024     * @version $Revision: 88b901bf20fb $
025     */
026    public class UnknownAttributeException extends Exception {
027    
028        /**
029         * 
030         */
031        private static final long serialVersionUID = 9010017153628193810L;
032    
033        /**
034         * Default constructor.
035         * 
036         * @param wrongAttributeName
037         *            name of attribute
038         * @param cause
039         *            original Exception
040         */
041        public UnknownAttributeException(final String wrongAttributeName,
042                final Exception cause) {
043            super("Unknown attribute name: " + wrongAttributeName, cause);
044        }
045    }