Enum InstantiationErrorCode
Enum InstantiationErrorCode
- java.lang.Object
-
- java.lang.Enum<InstantiationErrorCode>
-
- com.here.sdk.core.errors.InstantiationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstantiationErrorCode>
public enum InstantiationErrorCode extends java.lang.Enum<InstantiationErrorCode>
Instantiation error.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_KEY_CONTAINS_ILLEGAL_SYMBOLAccess key contains illegal symbols.ACCESS_KEY_SECRET_CONTAINS_ILLEGAL_SYMBOLAccess key secret contains illegal symbols.CACHE_FOLDER_ACCESS_DENIEDAccess to the specified cache folder is deniedDATA_FOLDER_ACCESS_DENIEDAccess to the specified data folder is deniedFAILEDInstantiation attempt failed.FAILED_TO_CREATE_ANALYTICS_SERVICEAnalytics service can not be createdFAILED_TO_LOCK_CACHE_FOLDERThe cache folder for given access key id is locked by other instance of SDKNativeEngineILLEGAL_ARGUMENTSIllegal arguments.INVALID_CATALOG_CONFIGURATIONCatalogConfigurationcontains invalid parameters.LAYER_CONFIGURATION_MISMATCHPlease check SDKOptions.layerConfiguration against SDK modules configuration.PERSISTENT_MAP_STORAGE_FOLDER_ACCESS_DENIEDAccess to the specified persistent map storage folder is deniedSDK_ENGINE_ALREADY_DISPOSEDInstantiation attempt failed because thedispose()method fromSDKNativeEnginewas called already.SHARED_SDK_ENGINE_NOT_INSTANTIATEDInstantiation attempt failed because the shared SDK engine is not instantiated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstantiationErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstantiationErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ILLEGAL_ARGUMENTS
public static final InstantiationErrorCode ILLEGAL_ARGUMENTS
Illegal arguments.
-
FAILED
public static final InstantiationErrorCode FAILED
Instantiation attempt failed. Please check log for error.
-
SHARED_SDK_ENGINE_NOT_INSTANTIATED
public static final InstantiationErrorCode SHARED_SDK_ENGINE_NOT_INSTANTIATED
Instantiation attempt failed because the shared SDK engine is not instantiated. Please initialise the SDK.
-
CACHE_FOLDER_ACCESS_DENIED
public static final InstantiationErrorCode CACHE_FOLDER_ACCESS_DENIED
Access to the specified cache folder is denied
-
PERSISTENT_MAP_STORAGE_FOLDER_ACCESS_DENIED
public static final InstantiationErrorCode PERSISTENT_MAP_STORAGE_FOLDER_ACCESS_DENIED
Access to the specified persistent map storage folder is denied
-
FAILED_TO_LOCK_CACHE_FOLDER
public static final InstantiationErrorCode FAILED_TO_LOCK_CACHE_FOLDER
The cache folder for given access key id is locked by other instance of SDKNativeEngine
-
FAILED_TO_CREATE_ANALYTICS_SERVICE
public static final InstantiationErrorCode FAILED_TO_CREATE_ANALYTICS_SERVICE
Analytics service can not be created
-
ACCESS_KEY_CONTAINS_ILLEGAL_SYMBOL
public static final InstantiationErrorCode ACCESS_KEY_CONTAINS_ILLEGAL_SYMBOL
Access key contains illegal symbols. The below characters are not supported: A. '(single quote) B. "(double quote)
-
ACCESS_KEY_SECRET_CONTAINS_ILLEGAL_SYMBOL
public static final InstantiationErrorCode ACCESS_KEY_SECRET_CONTAINS_ILLEGAL_SYMBOL
Access key secret contains illegal symbols. The below characters are not supported: A. '(single quote) B. "(double quote)
-
LAYER_CONFIGURATION_MISMATCH
public static final InstantiationErrorCode LAYER_CONFIGURATION_MISMATCH
Please check SDKOptions.layerConfiguration against SDK modules configuration.
-
SDK_ENGINE_ALREADY_DISPOSED
public static final InstantiationErrorCode SDK_ENGINE_ALREADY_DISPOSED
Instantiation attempt failed because the
dispose()method fromSDKNativeEnginewas called already.
-
INVALID_CATALOG_CONFIGURATION
public static final InstantiationErrorCode INVALID_CATALOG_CONFIGURATION
CatalogConfigurationcontains invalid parameters. Check the corectness of HRNs and versions.
-
DATA_FOLDER_ACCESS_DENIED
public static final InstantiationErrorCode DATA_FOLDER_ACCESS_DENIED
Access to the specified data folder is denied
-
-
Method Detail
-
values
public static InstantiationErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstantiationErrorCode c : InstantiationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstantiationErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-