001/**
002 * Portions Copyright 2001 Sun Microsystems, Inc.
003 * Portions Copyright 1999-2001 Language Technologies Institute, 
004 * Carnegie Mellon University.
005 * All Rights Reserved.  Use is subject to license terms.
006 * 
007 * See the file "license.terms" for information on usage and
008 * redistribution of this file, and for a DISCLAIMER OF ALL 
009 * WARRANTIES.
010 */
011package com.sun.speech.freetts;
012
013/**
014 * Thrown by an UtteranceProcessor if any errors
015 * are encountered while processing an Utterance.
016 */
017@SuppressWarnings("serial")
018public class ProcessException extends Exception {
019    /**
020     * Constructs a new object.
021     *
022     * @param message the reason why the exception was thrown
023     */
024    public ProcessException(String message) {
025        super(message);
026    }
027
028    /**
029     * Constructs a new object.
030     * @param message the reason why the exception was thrown
031     * @param cause the root cause of this exception
032     */
033    public ProcessException(String message, Throwable cause) {
034        super(message, cause);
035    }
036}