Class ErrorEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.ErrorEvent
Direct Known Subclasses:
WarningEvent

public class ErrorEvent extends Event
Payload that accompanies the onError() callback.
  • Constructor Details

  • Method Details

    • getMessage

      public String getMessage()
      Returns:
      The error message that has been detected.
    • getException

      public Exception getException()
      Returns:
      The Exception thrown along with this error.
    • getErrorCode

      public int getErrorCode()
      Returns:
      The error code of this error.