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