com.esri.core.map
Class FeatureEditError

java.lang.Object
  extended by com.esri.core.map.FeatureEditError
All Implemented Interfaces:
Serializable

public class FeatureEditError
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
FeatureEditError(int code, String msg)
          Instantiates an EsriServiceException with the given error description and code.
 
Method Summary
static FeatureEditError fromJson(org.codehaus.jackson.JsonParser parser)
          Decodes objects from JSON representation.
 int getCode()
          Gets the error code.
 String getDescription()
          Gets the description of the error.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureEditError

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.
Method Detail

getCode

public int getCode()
Gets the error code.

Returns:
the error code.

getDescription

public String getDescription()
Gets the description of the error.

Returns:
the description string.

fromJson

public static FeatureEditError fromJson(org.codehaus.jackson.JsonParser parser)
                                 throws Exception
Decodes objects from JSON representation.

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.