Class CatalogError

  • All Implemented Interfaces:
    BrightcoveError

    public final class CatalogError
    extends java.lang.Object
    implements BrightcoveError
    A Brightcove Error created when making a Playback API request using the Catalog.
    • Method Detail

      • getMessage

        @NonNull
        public java.lang.String getMessage()
        Gets the Catalog Error message
        Specified by:
        getMessage in interface BrightcoveError
        Returns:
        the error message
      • getThrowable

        @Nullable
        public java.lang.Throwable getThrowable()
        Gets the Throwable error thrown when making the Playback API request, if any.
        Specified by:
        getThrowable in interface BrightcoveError
        Returns:
        the throwable error
      • getCatalogErrorCode

        @NonNull
        public java.lang.String getCatalogErrorCode()
        Gets the Catalog Error code
        Returns:
        the error code returned from the Playback API server
      • getCatalogErrorSubcode

        @NonNull
        public java.lang.String getCatalogErrorSubcode()
        Gets the Catalog Error subcode
        Returns:
        the error subcode returned from the Playback API server
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object