com.brightcove.proserve.mediaapi.wrapper.exceptions
Enum WrapperExceptionCode

java.lang.Object
  extended by java.lang.Enum<WrapperExceptionCode>
      extended by com.brightcove.proserve.mediaapi.wrapper.exceptions.WrapperExceptionCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WrapperExceptionCode>

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


Enum Constant Summary
CLIENT_PROTOCOL_EXCEPTION
           
HTTP_ERROR_RESPONSE_CODE
           
INVALID_JSON_BUILD_REQUEST
           
INVALID_URL_ENCODING
           
INVALID_URL_SYNTAX
           
MAPI_ILLEGAL_STATE_RESPONSE
           
MAPI_IMAGE_NOT_ADDED
           
MAPI_IO_EXCEPTION
           
MAPI_PLAYLIST_NOT_CREATED
           
MAPI_PLAYLIST_NOT_DELETED
           
MAPI_PLAYLIST_NOT_UPDATED
           
MAPI_UNKNOWN_NULL
           
MAPI_UNPARSABLE_PLAYLIST
           
MAPI_UNPARSABLE_PLAYLISTS
           
MAPI_UNPARSABLE_RESPONSE
           
MAPI_UNPARSABLE_VIDEO
           
MAPI_UNPARSABLE_VIDEOS
           
MAPI_VIDEO_NOT_CREATED
           
MAPI_VIDEO_NOT_DELETED
           
MAPI_VIDEO_NOT_FOUND
           
MAPI_VIDEO_NOT_SHARED
           
MAPI_VIDEO_NOT_UPDATED
           
MAPI_VIDEO_STATUS_UNKNOWN
           
oHTTP_IO_ERROR
           
oHTTP_SERVER_ERROR
           
oIMAGE_PARAMETERS_INCORRECT
           
oINVALID_CLIENT_PROTOCOL
           
oINVALID_JSON_PARAMETERS
           
oINVALID_URL_ENCODING
           
oINVALID_URL_SYNTAX
           
oJSON_PARSE_EXCEPTION
           
oLIST_ITEM_CONTAINS_COMMAS
           
oPLAYLIST_PARSE_FAIL
           
oRESPONSE_READ_ERROR
           
oTOO_MANY_PLAYLISTS_PER_PAGE
           
oTOO_MANY_VIDEOS_PER_PAGE
           
oUNKNOWN_EXCEPTION
           
oVIDEO_PARAMETERS_INCORRECT
           
oVIDEO_PARSE_FAIL
           
USER_REQUESTED_INCORRECT_PARAMETERS
           
USER_REQUESTED_INVALID_FILE
           
USER_REQUESTED_REFERENCE_ID_WITH_COMMA
           
USER_REQUESTED_TOO_MANY_PLAYLISTS_PER_PAGE
           
USER_REQUESTED_TOO_MANY_VIDEOS_PER_PAGE
           
 
Method Summary
 java.lang.Integer getCode()
           
 java.lang.String getDescription()
           
static WrapperExceptionCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WrapperExceptionCode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID_URL_SYNTAX

public static final WrapperExceptionCode INVALID_URL_SYNTAX

INVALID_URL_ENCODING

public static final WrapperExceptionCode INVALID_URL_ENCODING

INVALID_JSON_BUILD_REQUEST

public static final WrapperExceptionCode INVALID_JSON_BUILD_REQUEST

HTTP_ERROR_RESPONSE_CODE

public static final WrapperExceptionCode HTTP_ERROR_RESPONSE_CODE

CLIENT_PROTOCOL_EXCEPTION

public static final WrapperExceptionCode CLIENT_PROTOCOL_EXCEPTION

MAPI_IO_EXCEPTION

public static final WrapperExceptionCode MAPI_IO_EXCEPTION

MAPI_ILLEGAL_STATE_RESPONSE

public static final WrapperExceptionCode MAPI_ILLEGAL_STATE_RESPONSE

MAPI_UNPARSABLE_RESPONSE

public static final WrapperExceptionCode MAPI_UNPARSABLE_RESPONSE

MAPI_UNPARSABLE_VIDEO

public static final WrapperExceptionCode MAPI_UNPARSABLE_VIDEO

MAPI_UNPARSABLE_VIDEOS

public static final WrapperExceptionCode MAPI_UNPARSABLE_VIDEOS

MAPI_UNPARSABLE_PLAYLIST

public static final WrapperExceptionCode MAPI_UNPARSABLE_PLAYLIST

MAPI_UNPARSABLE_PLAYLISTS

public static final WrapperExceptionCode MAPI_UNPARSABLE_PLAYLISTS

MAPI_VIDEO_NOT_FOUND

public static final WrapperExceptionCode MAPI_VIDEO_NOT_FOUND

MAPI_VIDEO_NOT_CREATED

public static final WrapperExceptionCode MAPI_VIDEO_NOT_CREATED

MAPI_IMAGE_NOT_ADDED

public static final WrapperExceptionCode MAPI_IMAGE_NOT_ADDED

MAPI_VIDEO_NOT_DELETED

public static final WrapperExceptionCode MAPI_VIDEO_NOT_DELETED

MAPI_VIDEO_NOT_SHARED

public static final WrapperExceptionCode MAPI_VIDEO_NOT_SHARED

MAPI_VIDEO_NOT_UPDATED

public static final WrapperExceptionCode MAPI_VIDEO_NOT_UPDATED

MAPI_VIDEO_STATUS_UNKNOWN

public static final WrapperExceptionCode MAPI_VIDEO_STATUS_UNKNOWN

MAPI_PLAYLIST_NOT_CREATED

public static final WrapperExceptionCode MAPI_PLAYLIST_NOT_CREATED

MAPI_PLAYLIST_NOT_DELETED

public static final WrapperExceptionCode MAPI_PLAYLIST_NOT_DELETED

MAPI_PLAYLIST_NOT_UPDATED

public static final WrapperExceptionCode MAPI_PLAYLIST_NOT_UPDATED

MAPI_UNKNOWN_NULL

public static final WrapperExceptionCode MAPI_UNKNOWN_NULL

USER_REQUESTED_TOO_MANY_VIDEOS_PER_PAGE

public static final WrapperExceptionCode USER_REQUESTED_TOO_MANY_VIDEOS_PER_PAGE

USER_REQUESTED_REFERENCE_ID_WITH_COMMA

public static final WrapperExceptionCode USER_REQUESTED_REFERENCE_ID_WITH_COMMA

USER_REQUESTED_TOO_MANY_PLAYLISTS_PER_PAGE

public static final WrapperExceptionCode USER_REQUESTED_TOO_MANY_PLAYLISTS_PER_PAGE

USER_REQUESTED_INCORRECT_PARAMETERS

public static final WrapperExceptionCode USER_REQUESTED_INCORRECT_PARAMETERS

USER_REQUESTED_INVALID_FILE

public static final WrapperExceptionCode USER_REQUESTED_INVALID_FILE

oINVALID_URL_SYNTAX

public static final WrapperExceptionCode oINVALID_URL_SYNTAX

oINVALID_URL_ENCODING

public static final WrapperExceptionCode oINVALID_URL_ENCODING

oINVALID_JSON_PARAMETERS

public static final WrapperExceptionCode oINVALID_JSON_PARAMETERS

oINVALID_CLIENT_PROTOCOL

public static final WrapperExceptionCode oINVALID_CLIENT_PROTOCOL

oHTTP_IO_ERROR

public static final WrapperExceptionCode oHTTP_IO_ERROR

oRESPONSE_READ_ERROR

public static final WrapperExceptionCode oRESPONSE_READ_ERROR

oHTTP_SERVER_ERROR

public static final WrapperExceptionCode oHTTP_SERVER_ERROR

oTOO_MANY_VIDEOS_PER_PAGE

public static final WrapperExceptionCode oTOO_MANY_VIDEOS_PER_PAGE

oTOO_MANY_PLAYLISTS_PER_PAGE

public static final WrapperExceptionCode oTOO_MANY_PLAYLISTS_PER_PAGE

oLIST_ITEM_CONTAINS_COMMAS

public static final WrapperExceptionCode oLIST_ITEM_CONTAINS_COMMAS

oVIDEO_PARAMETERS_INCORRECT

public static final WrapperExceptionCode oVIDEO_PARAMETERS_INCORRECT

oIMAGE_PARAMETERS_INCORRECT

public static final WrapperExceptionCode oIMAGE_PARAMETERS_INCORRECT

oJSON_PARSE_EXCEPTION

public static final WrapperExceptionCode oJSON_PARSE_EXCEPTION

oVIDEO_PARSE_FAIL

public static final WrapperExceptionCode oVIDEO_PARSE_FAIL

oPLAYLIST_PARSE_FAIL

public static final WrapperExceptionCode oPLAYLIST_PARSE_FAIL

oUNKNOWN_EXCEPTION

public static final WrapperExceptionCode oUNKNOWN_EXCEPTION
Method Detail

values

public static final WrapperExceptionCode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(WrapperExceptionCode c : WrapperExceptionCode.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static WrapperExceptionCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getDescription

public java.lang.String getDescription()

getCode

public java.lang.Integer getCode()