public static class

OnStatusChangedListener.EsriStatusException

extends Exception
implements EsriErrorCode
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.esri.android.map.event.OnStatusChangedListener.EsriStatusException

Class Overview

Defines the detailed information about the STATUS.INITIALIZATION_FAILED.

Summary

Constants
int INIT_FAILED Error code: -1000

Error description: The layer or MapView cannot be initialized.

int INIT_FAILED_ARCGIS_DYNAMIC_LAYER Error code: -1002

Error description: The ArcGISDynamicMapServicelayer cannot be initialized.

int INIT_FAILED_ARCGIS_FEATURE_LAYER Error code: -1004

Error description: The ArcGISFeaturelayer cannot be initialized.

int INIT_FAILED_ARCGIS_IMAGE_LAYER Error code: -1003

Error description: The ArcGISImageServiceLayer cannot be initialized.

int INIT_FAILED_ARCGIS_TILE_LAYER Error code: -1001

Error description: The ArcGISTiledMapServiceLayer cannot be initialized.

int INIT_FAILED_BAD_URL Error code: -4000

Error description: The layer cannot be initialized due to the bad URL.

int INIT_FAILED_BING_LAYER Error code: -1005

Error description: The BingMapsLayer cannot be initialized.

int INIT_FAILED_GRAPHICS_LAYER Error code: -1006

Error description: The GraphicsLayer cannot be initialized.

int INIT_FAILED_KML_LAYER Error code: -1008

Error description: The KMLLayer cannot be initialized.

int INIT_FAILED_LAYER_LOADING Error code: -3010

Error description: The layer cannot be loaded into the map as the spatial reference of the layer is not compatible with the spatial reference of the map.

int INIT_FAILED_MAPVIEW Error code: -2000

Error description: The MapView cannot be initialized.

int INIT_FAILED_MAPVIEW_BASE_LAYER Error code: -2001

Error description: The base layer of the MapView cannot be initialized.

int INIT_FAILED_OSM_LAYER Error code: -1007

Error description: The OpenStreetMapLayer cannot be initialized.

int INIT_FAILED_RASTER_LAYER Error code: -1009

Error description: The RasterLayer cannot be initialized.

int INIT_FAILED_UNSUPPORTED_LAYER Error code: -3002

Error description: A layer cannot be loaded into the map due to being an unsupported type.

int INIT_FAILED_WEBMAP Error code: -3000

Error description: The MapView cannot be initialized with given WebMap URL.

int INIT_FAILED_WEBMAP_UNSUPPORTED_LAYER Error code: -3001

Error description: The MapView cannot be initialized with given WebMap URL, one of the WebMap Layers is unsupported.

int SPATIAL_REFERENCE_INVALID Error code: -4010

Error description: The layer's spatial reference is invalid.

Public Constructors
OnStatusChangedListener.EsriStatusException(int code)
Instantiates an object of EsriStatusException with the given error code.
Public Methods
int getCode()
Gets the error code.
String getDescription()
Returns the error description.
String toString()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object
From interface com.esri.core.io.EsriErrorCode

Constants

public static final int INIT_FAILED

Error code: -1000

Error description: The layer or MapView cannot be initialized.

Constant Value: -1000 (0xfffffc18)

public static final int INIT_FAILED_ARCGIS_DYNAMIC_LAYER

Error code: -1002

Error description: The ArcGISDynamicMapServicelayer cannot be initialized.

Constant Value: -1002 (0xfffffc16)

public static final int INIT_FAILED_ARCGIS_FEATURE_LAYER

Error code: -1004

Error description: The ArcGISFeaturelayer cannot be initialized.

Constant Value: -1004 (0xfffffc14)

public static final int INIT_FAILED_ARCGIS_IMAGE_LAYER

Error code: -1003

Error description: The ArcGISImageServiceLayer cannot be initialized.

Constant Value: -1003 (0xfffffc15)

public static final int INIT_FAILED_ARCGIS_TILE_LAYER

Error code: -1001

Error description: The ArcGISTiledMapServiceLayer cannot be initialized.

Constant Value: -1001 (0xfffffc17)

public static final int INIT_FAILED_BAD_URL

Error code: -4000

Error description: The layer cannot be initialized due to the bad URL.

Constant Value: -4000 (0xfffff060)

public static final int INIT_FAILED_BING_LAYER

Error code: -1005

Error description: The BingMapsLayer cannot be initialized.

Constant Value: -1005 (0xfffffc13)

public static final int INIT_FAILED_GRAPHICS_LAYER

Error code: -1006

Error description: The GraphicsLayer cannot be initialized.

Constant Value: -1006 (0xfffffc12)

public static final int INIT_FAILED_KML_LAYER

Error code: -1008

Error description: The KMLLayer cannot be initialized.

Constant Value: -1008 (0xfffffc10)

public static final int INIT_FAILED_LAYER_LOADING

Error code: -3010

Error description: The layer cannot be loaded into the map as the spatial reference of the layer is not compatible with the spatial reference of the map.

Constant Value: -3010 (0xfffff43e)

public static final int INIT_FAILED_MAPVIEW

Error code: -2000

Error description: The MapView cannot be initialized.

Constant Value: -2000 (0xfffff830)

public static final int INIT_FAILED_MAPVIEW_BASE_LAYER

Error code: -2001

Error description: The base layer of the MapView cannot be initialized.

Constant Value: -2001 (0xfffff82f)

public static final int INIT_FAILED_OSM_LAYER

Error code: -1007

Error description: The OpenStreetMapLayer cannot be initialized.

Constant Value: -1007 (0xfffffc11)

public static final int INIT_FAILED_RASTER_LAYER

Error code: -1009

Error description: The RasterLayer cannot be initialized.

Constant Value: -1009 (0xfffffc0f)

public static final int INIT_FAILED_UNSUPPORTED_LAYER

Error code: -3002

Error description: A layer cannot be loaded into the map due to being an unsupported type.

Constant Value: -3002 (0xfffff446)

public static final int INIT_FAILED_WEBMAP

Error code: -3000

Error description: The MapView cannot be initialized with given WebMap URL.

Constant Value: -3000 (0xfffff448)

public static final int INIT_FAILED_WEBMAP_UNSUPPORTED_LAYER

Error code: -3001

Error description: The MapView cannot be initialized with given WebMap URL, one of the WebMap Layers is unsupported.

Constant Value: -3001 (0xfffff447)

public static final int SPATIAL_REFERENCE_INVALID

Error code: -4010

Error description: The layer's spatial reference is invalid.

Constant Value: -4010 (0xfffff056)

Public Constructors

public OnStatusChangedListener.EsriStatusException (int code)

Instantiates an object of EsriStatusException with the given error code.

Parameters
code int: the error code.

Public Methods

public int getCode ()

Gets the error code.

Returns
int Returns the code.

public String getDescription ()

Returns the error description.

Returns
String the description

public String toString ()

Returns
String