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