Package com.brightcove.player.edge
Class CatalogError
java.lang.Object
com.brightcove.player.edge.CatalogError
- All Implemented Interfaces:
BrightcoveError
A Brightcove Error created when making a Playback API request using the
Catalog
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.brightcove.player.model.BrightcoveError
BrightcoveError.ErrorCode
-
Field Summary
Fields inherited from interface com.brightcove.player.model.BrightcoveError
ERROR_CODE, ERROR_SUBCODE, MESSAGE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the Catalog Error codeGets the Catalog Error subcodeGets theBrightcoveError
code.Gets the Catalog Error messageGets the Throwable error thrown when making the Playback API request, if any.int
hashCode()
toString()
-
Method Details
-
getErrorCode
Gets theBrightcoveError
code. Currently always returnsBrightcoveError.ErrorCode.CATALOG_ERROR
- Specified by:
getErrorCode
in interfaceBrightcoveError
- Returns:
BrightcoveError.ErrorCode.CATALOG_ERROR
-
getMessage
Gets the Catalog Error message- Specified by:
getMessage
in interfaceBrightcoveError
- Returns:
- the error message
-
getThrowable
Gets the Throwable error thrown when making the Playback API request, if any.- Specified by:
getThrowable
in interfaceBrightcoveError
- Returns:
- the throwable error
-
getCatalogErrorCode
Gets the Catalog Error code- Returns:
- the error code returned from the Playback API server
-
getCatalogErrorSubcode
Gets the Catalog Error subcode- Returns:
- the error subcode returned from the Playback API server
-
equals
-
hashCode
public int hashCode() -
toString
-