java.lang.Object | |
↳ | com.esri.core.tasks.ags.na.NAMessage |
Class containing a message returned by the server.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NAMessage()
Empty Constructor
| |||||||||||
NAMessage(int type, String description)
Constructor taking the type and description of the message
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
static NAMessage |
fromJson(JsonParser parser)
Creates a NAMessage object from a json representation
| ||||||||||
String |
getDescription()
Gets the text description of the message
| ||||||||||
int |
getType()
Gets the type of the message
| ||||||||||
int | hashCode() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Empty Constructor
Constructor taking the type and description of the message
type | The type of the message |
---|---|
description | The text of the message |
Creates a NAMessage object from a json representation
parser | the parser containing the json |
---|
Exception | |
Exception |
Gets the text description of the message
Gets the type of the message