|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.agp.client.AgpError
public class AgpError
An ArcGIS Portal communication error object.
Constructor Summary | |
---|---|
AgpError()
Default constructor. |
Method Summary | |
---|---|
int |
getCode()
Gets the error code. |
String[] |
getDetails()
Gets the error details. |
String |
getMessage()
Gets the error message. |
void |
parse(org.json.JSONObject jsoResponse)
Parse the JSON response. |
void |
setCode(int code)
Sets the error code. |
void |
setDetails(String[] details)
Sets the error details. |
void |
setMessage(String message)
Sets the error message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgpError()
Method Detail |
---|
public int getCode()
public void setCode(int code)
code
- the error codepublic String[] getDetails()
public void setDetails(String[] details)
details
- the error detailspublic String getMessage()
public void setMessage(String message)
message
- the error messagepublic void parse(org.json.JSONObject jsoResponse) throws Exception
jsoResponse
- the JSON response
Exception
- if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |