com.cybozu.labs.langdetect
Class LangDetectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cybozu.labs.langdetect.LangDetectException
All Implemented Interfaces:
Serializable

public class LangDetectException
extends Exception

Author:
Nakatani Shuyo
See Also:
Serialized Form

Constructor Summary
LangDetectException(com.cybozu.labs.langdetect.ErrorCode code, String message)
           
 
Method Summary
 com.cybozu.labs.langdetect.ErrorCode 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

LangDetectException

public LangDetectException(com.cybozu.labs.langdetect.ErrorCode code,
                           String message)
Parameters:
code -
message -
Method Detail

getCode

public com.cybozu.labs.langdetect.ErrorCode getCode()
Returns:
the error code


Copyright © 2012. All Rights Reserved.