net.sf.dict4j.exception
Class DictServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.dict4j.exception.DictServerException
All Implemented Interfaces:
java.io.Serializable

public class DictServerException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
DictServerException(int code, java.lang.String msg)
           
DictServerException(ResponseEnum responseEnum)
           
 
Method Summary
 int getCode()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DictServerException

public DictServerException(ResponseEnum responseEnum)

DictServerException

public DictServerException(int code,
                           java.lang.String msg)
Method Detail

getCode

public int getCode()