edu.cmu.sphinx.tools.gui
Class GUIOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.cmu.sphinx.tools.gui.GUIOperationException
All Implemented Interfaces:
java.io.Serializable

public class GUIOperationException
extends java.lang.Exception

This exception is thrown when there is any error during GUI operations

Author:
Ariani
See Also:
Serialized Form

Field Summary
static int EXCEPTION_DECODER
           
static int EXCEPTION_FRONTEND
           
static int EXCEPTION_GLOBAL
           
static int EXCEPTION_LINGUIST
           
static int EXCEPTION_MISC
           
 
Constructor Summary
GUIOperationException(int mode, java.lang.String msg)
          Creates a new instance of GUIOperationException with detail message and mode as the type of error
 
Method Summary
 int getErrorCode()
           
 
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
 

Field Detail

EXCEPTION_GLOBAL

public static final int EXCEPTION_GLOBAL
See Also:
Constant Field Values

EXCEPTION_DECODER

public static final int EXCEPTION_DECODER
See Also:
Constant Field Values

EXCEPTION_LINGUIST

public static final int EXCEPTION_LINGUIST
See Also:
Constant Field Values

EXCEPTION_FRONTEND

public static final int EXCEPTION_FRONTEND
See Also:
Constant Field Values

EXCEPTION_MISC

public static final int EXCEPTION_MISC
See Also:
Constant Field Values
Constructor Detail

GUIOperationException

public GUIOperationException(int mode,
                             java.lang.String msg)
Creates a new instance of GUIOperationException with detail message and mode as the type of error

Method Detail

getErrorCode

public int getErrorCode()
Returns:
Mode of this exception, which explains the type of exception