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