public class

FeatureEditError

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.map.FeatureEditError

Class Overview

An error object indicating that an operation failed when processing a REST request.

Summary

Public Constructors
FeatureEditError(int code, String msg)
Instantiates an EsriServiceException with the given error description and code.
Public Methods
static FeatureEditError fromJson(JsonParser parser)
Decodes objects from JSON representation.
int getCode()
Gets the error code.
String getDescription()
Gets the description of the error.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FeatureEditError (int code, String msg)

Instantiates an EsriServiceException with the given error description and code.

Parameters
code int: the error code.
msg String: the error description.

Public Methods

public static FeatureEditError fromJson (JsonParser parser)

Decodes objects from JSON representation.

Parameters
parser JsonParser: the Jackson parser holding the JSON data.
Returns
FeatureEditError the decoded object from JSON representation.
Throws
Exception

public int getCode ()

Gets the error code.

Returns
int the error code.

public String getDescription ()

Gets the description of the error.

Returns
String the description string.

public String toString ()

Returns
String