edu.cmu.sphinx.tools.gui.writer
Class GUIWriterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.cmu.sphinx.tools.gui.writer.GUIWriterException
- All Implemented Interfaces:
- java.io.Serializable
public class GUIWriterException
- extends java.lang.Exception
This exception is thrown when there is an error in the writing process to output
- Author:
- Ariani
- See Also:
- Serialized Form
Constructor Summary |
GUIWriterException(java.lang.String msg,
int mode)
Constructs an instance of GUIWriterException with the
specified detail message and mode as the type of error |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EXCEPTION_OTHER
public static final int EXCEPTION_OTHER
- See Also:
- Constant Field Values
EXCEPTION_IO
public static final int EXCEPTION_IO
- See Also:
- Constant Field Values
EXCEPTION_NO_FILENAME
public static final int EXCEPTION_NO_FILENAME
- See Also:
- Constant Field Values
EXCEPTION_INVALID_TYPE
public static final int EXCEPTION_INVALID_TYPE
- See Also:
- Constant Field Values
GUIWriterException
public GUIWriterException(java.lang.String msg,
int mode)
- Constructs an instance of
GUIWriterException
with the
specified detail message and mode as the type of error
- Parameters:
msg
- the detail message.mode
- Type of error
getErrorCode
public int getErrorCode()
- Returns:
- Mode of this exception, which explains the type of exception