edu.cmu.sphinx.tools.gui.reader
Class GUIReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.cmu.sphinx.tools.gui.reader.GUIReaderException
- All Implemented Interfaces:
- java.io.Serializable
public class GUIReaderException
- extends java.lang.Exception
This class is thrown when there is error during reading operations
- Author:
- Ariani
- See Also:
- Serialized Form
Constructor Summary |
GUIReaderException(java.lang.String msg,
int mode)
Constructs an instance of GUIReaderException with the specified detail message. |
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_FILE_NOT_FOUND
public static final int EXCEPTION_FILE_NOT_FOUND
- See Also:
- Constant Field Values
EXCEPTION_INVALID_TYPE
public static final int EXCEPTION_INVALID_TYPE
- See Also:
- Constant Field Values
GUIReaderException
public GUIReaderException(java.lang.String msg,
int mode)
- Constructs an instance of
GUIReaderException
with the specified detail message.
- Parameters:
msg
- the detail message.mode
- the type of error that occurs
getErrorCode
public int getErrorCode()
- Returns:
- Mode of this exception, which explains the type of exception