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