Class ErrorEvent

All Implemented Interfaces:
Event

public class ErrorEvent extends RaiseBaseEvent
Fired whenever an undefined error related to the MediaObject has occurred
  • Constructor Details

    • ErrorEvent

      public ErrorEvent(MediaObject source, String timestampMillis, List<Tag> tags, String description, int errorCode, String type)
      Fired whenever an undefined error related to the MediaObject has occurred
      Parameters:
      source - Object that raised the event
      timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
      tags -
      description - Textual description of the error
      errorCode - Server side integer error code
      type - Integer code as a String
  • Method Details

    • getDescription

      public String getDescription()
      Getter for the description property
      Returns:
      Textual description of the error *
    • setDescription

      public void setDescription(String description)
      Setter for the description property
      Parameters:
      description - Textual description of the error
    • getErrorCode

      public int getErrorCode()
      Getter for the errorCode property
      Returns:
      Server side integer error code *
    • setErrorCode

      public void setErrorCode(int errorCode)
      Setter for the errorCode property
      Parameters:
      errorCode - Server side integer error code
    • getType

      public String getType()
      Getter for the type property
      Returns:
      Integer code as a String *
    • setType

      public void setType(String type)
      Setter for the type property
      Parameters:
      type - Integer code as a String