001    /*
002     * Copyright 2002 - 2007 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: DictionaryException.java 310 2007-05-18 20:26:36Z maxberger $ */
018    
019    package net.sourceforge.jeuclid.elements.support.operatordict;
020    
021    /**
022     * Exception during loading from dictionary.
023     * 
024     * @author Unkown
025     * @author Max Berger
026     * @version $Revision: 310 $
027     */
028    public class DictionaryException extends Exception {
029    
030        /**
031         * 
032         */
033        private static final long serialVersionUID = 7722130827768612438L;
034    
035        /**
036         * Default constructor.
037         * 
038         * @param message
039         *            Error message
040         */
041        public DictionaryException(final String message) {
042            super(message);
043        }
044    
045        /**
046         * Error based on another cause.
047         * 
048         * @param message
049         *            Error Message
050         * @param cause
051         *            The real Cause
052         */
053        public DictionaryException(final String message, final Throwable cause) {
054            super(message, cause);
055        }
056    }