001package org.maltparser.parser.history; 002 003import org.maltparser.core.exception.MaltChainedException; 004 005 006/** 007 * HistoryException extends the MaltChainedException class and is thrown by classes 008 * within the history package. 009 * 010 * @author Johan Hall 011 * @since 1.1 012**/ 013public class HistoryException extends MaltChainedException { 014 public static final long serialVersionUID = 8045568022124816379L; 015 /** 016 * Creates a HistoryException object with a message 017 * 018 * @param message the message 019 */ 020 public HistoryException(String message) { 021 super(message); 022 } 023 /** 024 * Creates a HistoryException 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 HistoryException(String message, Throwable cause) { 030 super(message, cause); 031 } 032}