standup.lexicon
Class LexiconException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by standup.lexicon.LexiconException
All Implemented Interfaces:
Serializable

public class LexiconException
extends Exception

A very simple subclass of Exception that is specifically for Exceptions arising from within the standup.lexicon package.

Author:
Ruli Manurung
See Also:
Serialized Form

Field Summary
(package private)  int errCode
           
(package private)  String errMsg
           
private static long serialVersionUID
           
 
Constructor Summary
LexiconException(int _errCode, String _errMsg)
           
LexiconException(String _err)
           
 
Method Summary
protected  String getErrorMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

errCode

int errCode

errMsg

String errMsg
Constructor Detail

LexiconException

public LexiconException(String _err)

LexiconException

public LexiconException(int _errCode,
                        String _errMsg)
Method Detail

getErrorMessage

protected String getErrorMessage()

toString

public String toString()
Overrides:
toString in class Throwable