com.bokecc.sdk.mobile.exception

## 枚举 ErrorCode

- java.lang.Object
- - java.lang.Enum<ErrorCode>
  - - com.bokecc.sdk.mobile.exception.ErrorCode

- 所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<ErrorCode>

      public enum ErrorCode
      extends java.lang.Enum<ErrorCode>

- - ### 枚举常量概要

    枚举常量
    枚举常量和说明
    `AD_END_JSON_FAIL`
    `AD_END_JSON_IS_ERROR`
    `AD_END_JSON_IS_NULL`
    `AD_END_REQUEST_FAIL`
    `AD_FRONT_JSON_FAIL`
    `AD_FRONT_JSON_IS_ERROR`
    `AD_FRONT_JSON_IS_NULL`
    `AD_FRONT_REQUEST_FAIL`
    `AD_PAUSE_JSON_FAIL`
    `AD_PAUSE_JSON_IS_ERROR`
    `AD_PAUSE_JSON_IS_NULL`
    `AD_PAUSE_REQUEST_FAIL`
    `AUDIO_COPY_IS_NULL`
    `AUTH_VERIFY_FAIL`
    `COPY_IS_NULL`
    `DOWNLOAD_AUTH_VERIFY_FAIL`
    `DOWNLOAD_DEFINITION_LISTENER_NULL`
    `DOWNLOAD_FILE_IS_NULL`
    `DOWNLOAD_FILE_NAME_IS_NULL`
    `DOWNLOAD_GET_DEFINITION_JSONEXCEPTION`
    `DOWNLOAD_INIT_EXCEPTION`
    `DOWNLOAD_INIT_IOEXCEPTION`
    `DOWNLOAD_INIT_JSONEXCEPTION`
    `DOWNLOAD_INIT_NULLPOINTEREXCEPTION`
    `DOWNLOAD_RESPONSE_ERROR`
    `DOWNLOAD_RESPONSECODE_ERROR`
    `DOWNLOAD_RESULT_FAIL`
    `DOWNLOAD_RESULT_IS_NULL`
    `DOWNLOAD_RESUME_EXCEPTION`
    `DOWNLOAD_RESUME_IOEXCEPTION`
    `DOWNLOAD_RESUME_JSONEXCEPTION`
    `DOWNLOAD_RESUME_NULLPOINTEREXCEPTION`
    `DOWNLOAD_SET_END_ERROR`
    `DOWNLOAD_VIDEO_COPY_IS_NULL`
    `DOWNLOAD_VIDEO_STATUS_ERROR`
    `DOWNLOADURL_IS_NULL`
    `DRM_FILE_IS_NULL`
    `DRM_LOAD_DATA_FAIL`
    `DRM_NOT_PCM_FILE`
    `DRM_SOURCE_FILE_IS_NULL`
    `DRM_VERSION_NUMBER_WRONG`
    `HTTP_RESPONSE_ERROR`
    `PLAY_GET_DEFINITION_ERROR`
    `PLAY_OFFLINE_VIDEO_UNKNOW_ERROR`
    `PLAY_REQUEST_UNKNOW_ERROR`
    `PLAYINFO_RESULT_IS_NULL`
    `PLAYINFO_STATUS_ERROR`
    `REQUEST_FAIL`
    `UPLOAD_CHECK_FIRST_ERROR`
    `UPLOAD_CHECKUPLOAD_RANGE_ERROR`
    `UPLOAD_CHECKUPLOAD_RANGE_NOT_EXIST`
    `UPLOAD_CHECKUPLOAD_RESULT_ERROR`
    `UPLOAD_CHECKUPLOAD_RESULT_IS_NULL`
    `UPLOAD_DOCUMENT_IS_NULL`
    `UPLOAD_FILE_IOEXCEPTION`
    `UPLOAD_GET_SPARK_IOEXCEPTION`
    `UPLOAD_HTTPURLCONNECTION_IS_NULL`
    `UPLOAD_INTERRUPTED_EXCEPTION`
    `UPLOAD_REQUEST_PARAM_INVALID`
    `UPLOAD_RESUME_ERROR`
    `UPLOAD_RESUME_UNKNOW_ERROR`
    `UPLOAD_SPARK_ERROR`
    `UPLOAD_SPARK_XMLEXCEPTION`
    `UPLOAD_WATERMARK_COLOR_ERROR`
    `UPLOAD_WATERMARK_TEXT_ERROR`
    `VIDEO_COPY_IS_NULL`
    `VIDEO_IS_DELETED`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `Value()` 返回错误码
    `static ErrorCode` | `valueOf(java.lang.String name)` 返回带有指定名称的该类型的枚举常量。
    `static ErrorCode[]` | `values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    - ### 从类继承的方法 java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### 从类继承的方法 java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### 枚举常量详细资料

    - #### COPY_IS_NULL

          public static final ErrorCode COPY_IS_NULL

    - #### VIDEO_COPY_IS_NULL

          public static final ErrorCode VIDEO_COPY_IS_NULL

    - #### AUDIO_COPY_IS_NULL

          public static final ErrorCode AUDIO_COPY_IS_NULL

    - #### AUTH_VERIFY_FAIL

          public static final ErrorCode AUTH_VERIFY_FAIL

    - #### PLAYINFO_STATUS_ERROR

          public static final ErrorCode PLAYINFO_STATUS_ERROR

    - #### PLAYINFO_RESULT_IS_NULL

          public static final ErrorCode PLAYINFO_RESULT_IS_NULL

    - #### HTTP_RESPONSE_ERROR

          public static final ErrorCode HTTP_RESPONSE_ERROR

    - #### REQUEST_FAIL

          public static final ErrorCode REQUEST_FAIL

    - #### VIDEO_IS_DELETED

          public static final ErrorCode VIDEO_IS_DELETED

    - #### PLAY_REQUEST_UNKNOW_ERROR

          public static final ErrorCode PLAY_REQUEST_UNKNOW_ERROR

    - #### PLAY_GET_DEFINITION_ERROR

          public static final ErrorCode PLAY_GET_DEFINITION_ERROR

    - #### PLAY_OFFLINE_VIDEO_UNKNOW_ERROR

          public static final ErrorCode PLAY_OFFLINE_VIDEO_UNKNOW_ERROR

    - #### DOWNLOADURL_IS_NULL

          public static final ErrorCode DOWNLOADURL_IS_NULL

    - #### DOWNLOAD_VIDEO_COPY_IS_NULL

          public static final ErrorCode DOWNLOAD_VIDEO_COPY_IS_NULL

    - #### DOWNLOAD_VIDEO_STATUS_ERROR

          public static final ErrorCode DOWNLOAD_VIDEO_STATUS_ERROR

    - #### DOWNLOAD_AUTH_VERIFY_FAIL

          public static final ErrorCode DOWNLOAD_AUTH_VERIFY_FAIL

    - #### DOWNLOAD_RESULT_IS_NULL

          public static final ErrorCode DOWNLOAD_RESULT_IS_NULL

    - #### DOWNLOAD_RESPONSE_ERROR

          public static final ErrorCode DOWNLOAD_RESPONSE_ERROR

    - #### DOWNLOAD_RESULT_FAIL

          public static final ErrorCode DOWNLOAD_RESULT_FAIL

    - #### DOWNLOAD_DEFINITION_LISTENER_NULL

          public static final ErrorCode DOWNLOAD_DEFINITION_LISTENER_NULL

    - #### DOWNLOAD_SET_END_ERROR

          public static final ErrorCode DOWNLOAD_SET_END_ERROR

    - #### DOWNLOAD_RESPONSECODE_ERROR

          public static final ErrorCode DOWNLOAD_RESPONSECODE_ERROR

    - #### DOWNLOAD_FILE_IS_NULL

          public static final ErrorCode DOWNLOAD_FILE_IS_NULL

    - #### DOWNLOAD_INIT_IOEXCEPTION

          public static final ErrorCode DOWNLOAD_INIT_IOEXCEPTION

    - #### DOWNLOAD_INIT_JSONEXCEPTION

          public static final ErrorCode DOWNLOAD_INIT_JSONEXCEPTION

    - #### DOWNLOAD_INIT_NULLPOINTEREXCEPTION

          public static final ErrorCode DOWNLOAD_INIT_NULLPOINTEREXCEPTION

    - #### DOWNLOAD_INIT_EXCEPTION

          public static final ErrorCode DOWNLOAD_INIT_EXCEPTION

    - #### DOWNLOAD_RESUME_IOEXCEPTION

          public static final ErrorCode DOWNLOAD_RESUME_IOEXCEPTION

    - #### DOWNLOAD_RESUME_JSONEXCEPTION

          public static final ErrorCode DOWNLOAD_RESUME_JSONEXCEPTION

    - #### DOWNLOAD_RESUME_NULLPOINTEREXCEPTION

          public static final ErrorCode DOWNLOAD_RESUME_NULLPOINTEREXCEPTION

    - #### DOWNLOAD_RESUME_EXCEPTION

          public static final ErrorCode DOWNLOAD_RESUME_EXCEPTION

    - #### DOWNLOAD_GET_DEFINITION_JSONEXCEPTION

          public static final ErrorCode DOWNLOAD_GET_DEFINITION_JSONEXCEPTION

    - #### DOWNLOAD_FILE_NAME_IS_NULL

          public static final ErrorCode DOWNLOAD_FILE_NAME_IS_NULL

    - #### UPLOAD_DOCUMENT_IS_NULL

          public static final ErrorCode UPLOAD_DOCUMENT_IS_NULL

    - #### UPLOAD_SPARK_ERROR

          public static final ErrorCode UPLOAD_SPARK_ERROR

    - #### UPLOAD_CHECK_FIRST_ERROR

          public static final ErrorCode UPLOAD_CHECK_FIRST_ERROR

    - #### UPLOAD_CHECKUPLOAD_RESULT_ERROR

          public static final ErrorCode UPLOAD_CHECKUPLOAD_RESULT_ERROR

    - #### UPLOAD_CHECKUPLOAD_RESULT_IS_NULL

          public static final ErrorCode UPLOAD_CHECKUPLOAD_RESULT_IS_NULL

    - #### UPLOAD_CHECKUPLOAD_RANGE_ERROR

          public static final ErrorCode UPLOAD_CHECKUPLOAD_RANGE_ERROR

    - #### UPLOAD_CHECKUPLOAD_RANGE_NOT_EXIST

          public static final ErrorCode UPLOAD_CHECKUPLOAD_RANGE_NOT_EXIST

    - #### UPLOAD_HTTPURLCONNECTION_IS_NULL

          public static final ErrorCode UPLOAD_HTTPURLCONNECTION_IS_NULL

    - #### UPLOAD_RESUME_ERROR

          public static final ErrorCode UPLOAD_RESUME_ERROR

    - #### UPLOAD_RESUME_UNKNOW_ERROR

          public static final ErrorCode UPLOAD_RESUME_UNKNOW_ERROR

    - #### UPLOAD_REQUEST_PARAM_INVALID

          public static final ErrorCode UPLOAD_REQUEST_PARAM_INVALID

    - #### UPLOAD_GET_SPARK_IOEXCEPTION

          public static final ErrorCode UPLOAD_GET_SPARK_IOEXCEPTION

    - #### UPLOAD_FILE_IOEXCEPTION

          public static final ErrorCode UPLOAD_FILE_IOEXCEPTION

    - #### UPLOAD_INTERRUPTED_EXCEPTION

          public static final ErrorCode UPLOAD_INTERRUPTED_EXCEPTION

    - #### UPLOAD_SPARK_XMLEXCEPTION

          public static final ErrorCode UPLOAD_SPARK_XMLEXCEPTION

    - #### UPLOAD_WATERMARK_COLOR_ERROR

          public static final ErrorCode UPLOAD_WATERMARK_COLOR_ERROR

    - #### UPLOAD_WATERMARK_TEXT_ERROR

          public static final ErrorCode UPLOAD_WATERMARK_TEXT_ERROR

    - #### AD_FRONT_REQUEST_FAIL

          public static final ErrorCode AD_FRONT_REQUEST_FAIL

    - #### AD_FRONT_JSON_FAIL

          public static final ErrorCode AD_FRONT_JSON_FAIL

    - #### AD_PAUSE_REQUEST_FAIL

          public static final ErrorCode AD_PAUSE_REQUEST_FAIL

    - #### AD_PAUSE_JSON_FAIL

          public static final ErrorCode AD_PAUSE_JSON_FAIL

    - #### AD_FRONT_JSON_IS_NULL

          public static final ErrorCode AD_FRONT_JSON_IS_NULL

    - #### AD_FRONT_JSON_IS_ERROR

          public static final ErrorCode AD_FRONT_JSON_IS_ERROR

    - #### AD_PAUSE_JSON_IS_NULL

          public static final ErrorCode AD_PAUSE_JSON_IS_NULL

    - #### AD_PAUSE_JSON_IS_ERROR

          public static final ErrorCode AD_PAUSE_JSON_IS_ERROR

    - #### AD_END_REQUEST_FAIL

          public static final ErrorCode AD_END_REQUEST_FAIL

    - #### AD_END_JSON_FAIL

          public static final ErrorCode AD_END_JSON_FAIL

    - #### AD_END_JSON_IS_NULL

          public static final ErrorCode AD_END_JSON_IS_NULL

    - #### AD_END_JSON_IS_ERROR

          public static final ErrorCode AD_END_JSON_IS_ERROR

    - #### DRM_FILE_IS_NULL

          public static final ErrorCode DRM_FILE_IS_NULL

    - #### DRM_NOT_PCM_FILE

          public static final ErrorCode DRM_NOT_PCM_FILE

    - #### DRM_VERSION_NUMBER_WRONG

          public static final ErrorCode DRM_VERSION_NUMBER_WRONG

    - #### DRM_SOURCE_FILE_IS_NULL

          public static final ErrorCode DRM_SOURCE_FILE_IS_NULL

    - #### DRM_LOAD_DATA_FAIL

          public static final ErrorCode DRM_LOAD_DATA_FAIL

  - ### 方法详细资料

    - #### values

          public static ErrorCode[] values()

      按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:

          for (ErrorCode c : ErrorCode.values())
              System.out.println(c);

      返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

    - #### valueOf

          public static ErrorCode valueOf(java.lang.String name)

      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
        `name` - 要返回的枚举常量的名称。
      返回:
        返回带有指定名称的枚举常量
      抛出:
        `java.lang.IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
        `java.lang.NullPointerException` - 如果参数为空值

    - #### Value

          public int Value()

      返回错误码
      返回: