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 or STATUS.LAYER_LOADING_FAILED.

Summary

Constants
int INIT_FAILED Error code: -1000

Error description: The layer or MapView can not be initialized.

int INIT_FAILED_ARCGIS_DYNAMIC_LAYER Error code: -1002

Error description: The ArcGISDynamicMapServicelayer can not be initialized.

int INIT_FAILED_ARCGIS_FEATURE_LAYER Error code: -1004

Error description: The ArcGISFeaturelayer can not be initialized.

int INIT_FAILED_ARCGIS_IMAGE_LAYER Error code: -1003

Error description: The ArcGISImageServiceLayer can not be initialized.

int INIT_FAILED_ARCGIS_TILE_LAYER Error code: -1001

Error description: The ArcGISTiledMapServiceLayer can not be initialized.

int INIT_FAILED_BAD_URL Error code: -4000

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

int INIT_FAILED_BING_LAYER Error code: -1005

Error description: The BingMapslayer can not be initialized.

int INIT_FAILED_GRAPHICS_LAYER Error code: -1006

Error description: The GraphicsLayer can not be initialized.

int INIT_FAILED_KML_LAYER Error code: -1008

Error description: The KMLLayer can not be initialized.

int INIT_FAILED_LAYER_LOADING Error code: -3010

Error description: The layer can not be loaded into map due to the spatial reference conflict etc.

int INIT_FAILED_MAPVIEW Error code: -2000

Error description: The MapView can not initialized.

int INIT_FAILED_MAPVIEW_BASE_LAYER Error code: -2001

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

int INIT_FAILED_OSM_LAYER Error code: -1007

Error description: The OpenStreetMapLayer can not be initialized.

int INIT_FAILED_UNSUPPORTED_LAYER Error code: -3002

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

int INIT_FAILED_WEBMAP Error code: -3000

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

int INIT_FAILED_WEBMAP_UNSUPPORTED_LAYER Error code: -3001

Error description: The MapView can not be initialized with given WebMap URL, one of the WebMap Layer 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 can not be initialized.

Constant Value: -1000 (0xfffffc18)

public static final int INIT_FAILED_ARCGIS_DYNAMIC_LAYER

Error code: -1002

Error description: The ArcGISDynamicMapServicelayer can not be initialized.

Constant Value: -1002 (0xfffffc16)

public static final int INIT_FAILED_ARCGIS_FEATURE_LAYER

Error code: -1004

Error description: The ArcGISFeaturelayer can not be initialized.

Constant Value: -1004 (0xfffffc14)

public static final int INIT_FAILED_ARCGIS_IMAGE_LAYER

Error code: -1003

Error description: The ArcGISImageServiceLayer can not be initialized.

Constant Value: -1003 (0xfffffc15)

public static final int INIT_FAILED_ARCGIS_TILE_LAYER

Error code: -1001

Error description: The ArcGISTiledMapServiceLayer can not be initialized.

Constant Value: -1001 (0xfffffc17)

public static final int INIT_FAILED_BAD_URL

Error code: -4000

Error description: The layer can not 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 can not be initialized.

Constant Value: -1005 (0xfffffc13)

public static final int INIT_FAILED_GRAPHICS_LAYER

Error code: -1006

Error description: The GraphicsLayer can not be initialized.

Constant Value: -1006 (0xfffffc12)

public static final int INIT_FAILED_KML_LAYER

Error code: -1008

Error description: The KMLLayer can not be initialized.

Constant Value: -1008 (0xfffffc10)

public static final int INIT_FAILED_LAYER_LOADING

Error code: -3010

Error description: The layer can not be loaded into map due to the spatial reference conflict etc.

Constant Value: -3010 (0xfffff43e)

public static final int INIT_FAILED_MAPVIEW

Error code: -2000

Error description: The MapView can not 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 can not be initialized.

Constant Value: -2001 (0xfffff82f)

public static final int INIT_FAILED_OSM_LAYER

Error code: -1007

Error description: The OpenStreetMapLayer can not be initialized.

Constant Value: -1007 (0xfffffc11)

public static final int INIT_FAILED_UNSUPPORTED_LAYER

Error code: -3002

Error description: A layer can not 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 can not 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 can not be initialized with given WebMap URL, one of the WebMap Layer 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 the error code.

Public Methods

public int getCode ()

Gets the error code.

Returns
  • Returns the code.

public String getDescription ()

Returns the error description.

Returns
  • the description

public String toString ()