001    package org.maltparser.ml.liblinear;
002    
003    import org.maltparser.core.exception.MaltChainedException;
004    
005    /**
006     *  LiblinearException 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 LiblinearException extends MaltChainedException {
013            public static final long serialVersionUID = 8045568022124816379L; 
014            /**
015             * Creates a LiblinearException object with a message
016             * 
017             * @param message       the message
018             */
019            public LiblinearException(String message) {
020                    super(message);
021            }
022            /**
023             * Creates a LiblinearException 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 LiblinearException(String message, Throwable cause) {
029                    super(message, cause);
030            }
031    }