com.cybozu.labs.langdetect

## Class LangDetectException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.cybozu.labs.langdetect.LangDetectException

- All Implemented Interfaces:
    java.io.Serializable

      public class LangDetectException
      extends java.lang.Exception

  Author:
    Nakatani Shuyo
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LangDetectException(ErrorCode code, java.lang.String message)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ErrorCode` | `getCode()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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(ErrorCode code,
                             java.lang.String message)

      Parameters:
        `code` -
        `message` -

  - ### Method Detail

    - #### getCode

          public ErrorCode getCode()

      Returns:
        the error code