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 the error code.
msg the error description.

Public Methods

public static FeatureEditError fromJson (JsonParser parser)

Decodes objects from JSON representation.

Parameters
parser the Jackson parser holding the JSON data.
Returns
  • the decoded object from JSON representation.
Throws
Exception

public int getCode ()

Gets the error code.

Returns
  • the error code.

public String getDescription ()

Gets the description of the error.

Returns
  • the description string.

public String toString ()