public class ErrorEvent extends RaiseBaseEvent
Constructor and Description |
---|
ErrorEvent(MediaObject source,
java.lang.String timestamp,
java.util.List<Tag> tags,
java.lang.String description,
int errorCode,
java.lang.String type)
Fired whenever an undefined error related to the MediaObject has occurred
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Getter for the description property
|
int |
getErrorCode()
Getter for the errorCode property
|
java.lang.String |
getType()
Getter for the type property
|
void |
setDescription(java.lang.String description)
Setter for the description property
|
void |
setErrorCode(int errorCode)
Setter for the errorCode property
|
void |
setType(java.lang.String type)
Setter for the type property
|
getSource, getTags, getTimestamp, setSource, setTags, setTimestamp
public ErrorEvent(MediaObject source, java.lang.String timestamp, java.util.List<Tag> tags, java.lang.String description, int errorCode, java.lang.String type)
source
- Object that raised the eventtimestamp
- tags
- description
- Textual description of the errorerrorCode
- Server side integer error codetype
- Integer code as a Stringpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- Textual description of the errorpublic int getErrorCode()
public void setErrorCode(int errorCode)
errorCode
- Server side integer error codepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- Integer code as a String