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