限定符和类型 | 方法和说明 |
---|---|
int |
Value()
返回错误码
|
static ErrorCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ErrorCode COPY_IS_NULL
public static final ErrorCode VIDEO_COPY_IS_NULL
public static final ErrorCode AUDIO_COPY_IS_NULL
public static final ErrorCode AUTH_VERIFY_FAIL
public static final ErrorCode PLAYINFO_STATUS_ERROR
public static final ErrorCode PLAYINFO_RESULT_IS_NULL
public static final ErrorCode HTTP_RESPONSE_ERROR
public static final ErrorCode REQUEST_FAIL
public static final ErrorCode VIDEO_IS_DELETED
public static final ErrorCode PLAY_REQUEST_UNKNOW_ERROR
public static final ErrorCode PLAY_GET_DEFINITION_ERROR
public static final ErrorCode PLAY_OFFLINE_VIDEO_UNKNOW_ERROR
public static final ErrorCode DOWNLOADURL_IS_NULL
public static final ErrorCode DOWNLOAD_VIDEO_COPY_IS_NULL
public static final ErrorCode DOWNLOAD_VIDEO_STATUS_ERROR
public static final ErrorCode DOWNLOAD_AUTH_VERIFY_FAIL
public static final ErrorCode DOWNLOAD_RESULT_IS_NULL
public static final ErrorCode DOWNLOAD_RESPONSE_ERROR
public static final ErrorCode DOWNLOAD_RESULT_FAIL
public static final ErrorCode DOWNLOAD_DEFINITION_LISTENER_NULL
public static final ErrorCode DOWNLOAD_SET_END_ERROR
public static final ErrorCode DOWNLOAD_RESPONSECODE_ERROR
public static final ErrorCode DOWNLOAD_FILE_IS_NULL
public static final ErrorCode DOWNLOAD_INIT_IOEXCEPTION
public static final ErrorCode DOWNLOAD_INIT_JSONEXCEPTION
public static final ErrorCode DOWNLOAD_INIT_NULLPOINTEREXCEPTION
public static final ErrorCode DOWNLOAD_INIT_EXCEPTION
public static final ErrorCode DOWNLOAD_RESUME_IOEXCEPTION
public static final ErrorCode DOWNLOAD_RESUME_JSONEXCEPTION
public static final ErrorCode DOWNLOAD_RESUME_NULLPOINTEREXCEPTION
public static final ErrorCode DOWNLOAD_RESUME_EXCEPTION
public static final ErrorCode DOWNLOAD_GET_DEFINITION_JSONEXCEPTION
public static final ErrorCode DOWNLOAD_FILE_NAME_IS_NULL
public static final ErrorCode UPLOAD_DOCUMENT_IS_NULL
public static final ErrorCode UPLOAD_SPARK_ERROR
public static final ErrorCode UPLOAD_CHECK_FIRST_ERROR
public static final ErrorCode UPLOAD_CHECKUPLOAD_RESULT_ERROR
public static final ErrorCode UPLOAD_CHECKUPLOAD_RESULT_IS_NULL
public static final ErrorCode UPLOAD_CHECKUPLOAD_RANGE_ERROR
public static final ErrorCode UPLOAD_CHECKUPLOAD_RANGE_NOT_EXIST
public static final ErrorCode UPLOAD_HTTPURLCONNECTION_IS_NULL
public static final ErrorCode UPLOAD_RESUME_ERROR
public static final ErrorCode UPLOAD_RESUME_UNKNOW_ERROR
public static final ErrorCode UPLOAD_REQUEST_PARAM_INVALID
public static final ErrorCode UPLOAD_GET_SPARK_IOEXCEPTION
public static final ErrorCode UPLOAD_FILE_IOEXCEPTION
public static final ErrorCode UPLOAD_INTERRUPTED_EXCEPTION
public static final ErrorCode UPLOAD_SPARK_XMLEXCEPTION
public static final ErrorCode UPLOAD_WATERMARK_COLOR_ERROR
public static final ErrorCode UPLOAD_WATERMARK_TEXT_ERROR
public static final ErrorCode AD_FRONT_REQUEST_FAIL
public static final ErrorCode AD_FRONT_JSON_FAIL
public static final ErrorCode AD_PAUSE_REQUEST_FAIL
public static final ErrorCode AD_PAUSE_JSON_FAIL
public static final ErrorCode AD_FRONT_JSON_IS_NULL
public static final ErrorCode AD_FRONT_JSON_IS_ERROR
public static final ErrorCode AD_PAUSE_JSON_IS_NULL
public static final ErrorCode AD_PAUSE_JSON_IS_ERROR
public static final ErrorCode AD_END_REQUEST_FAIL
public static final ErrorCode AD_END_JSON_FAIL
public static final ErrorCode AD_END_JSON_IS_NULL
public static final ErrorCode AD_END_JSON_IS_ERROR
public static final ErrorCode DRM_FILE_IS_NULL
public static final ErrorCode DRM_NOT_PCM_FILE
public static final ErrorCode DRM_VERSION_NUMBER_WRONG
public static final ErrorCode DRM_SOURCE_FILE_IS_NULL
public static final ErrorCode DRM_LOAD_DATA_FAIL
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int Value()