001package org.maltparser.core.symbol;
002
003import org.maltparser.core.exception.MaltChainedException;
004
005/**
006 *  SymbolException extends the MaltChainedException class and is thrown by classes
007 *  within the symbol package.
008 *
009 * @author Johan Hall
010 * @since 1.0
011**/
012public class SymbolException extends MaltChainedException {
013        public static final long serialVersionUID = 8045568022124816379L; 
014        /**
015         * Creates a SymbolException object with a message
016         * 
017         * @param message       the message
018         */
019        public SymbolException(String message) {
020                super(message);
021        }
022        /**
023         * Creates a SymbolException object with a message and a cause to the exception.
024         * 
025         * @param message       the message
026         * @param cause         the cause to the exception
027         */
028        public SymbolException(String message, Throwable cause) {
029                super(message, cause);
030        }
031}