Compartilhar via


ErrorCodeDescription Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.sdk.iot.deps.serializer.ErrorCodeDescription

public enum ErrorCodeDescription
extends java.lang.Enum<ErrorCodeDescription>

Fields

ArgumentInvalid
ArgumentNull
BadFormat
BlobContainerValidationError
BulkRegistryOperationFailure
CannotRegisterModuleToModule
Conflict
ConnectionForcefullyClosedOnNewConnection
DeserializationError
DeviceAlreadyExists
DeviceConnectionClosedRemotely
DeviceDefinedMultipleTimes
DeviceInvalidResultCount
DeviceMaximumQueueDepthExceeded
DeviceMessageLockLost
DeviceNotFound
DeviceNotOnline
DeviceStorageEntitySerializationError
Forbidden
ImportWarningExistsError
InternalServerError
InvalidOperation
InvalidProtocolVersion
InvalidSchemaVersion
InvalidThrottleParameter
IotHubFormatError
IotHubMaxCbsTokenExceeded
IotHubNotFound
IotHubQuotaExceeded
IotHubSuspended
IotHubUnauthorized
IotHubUnauthorizedAccess
JobCancelled
JobNotFound
JobQuotaExceeded
MessageTooLarge
ModuleAlreadyExistsOnDevice
ModuleNotFound
NotFound
PartitionNotFound
PreconditionFailed

Represents status code for 429 and for status code 429001

RequestEntityTooLarge
ServerError
ServiceUnavailable

Defined for status code 503 and 503001

ThrottleBacklogLimitExceeded
ThrottlingException

Represents status code for 429 and 429001

TooManyDevices
TooManyModulesOnDevice
Unauthorized
UnclassifiedErrorCode

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

Parse(int errorCode)

public static ErrorCodeDescription Parse(int errorCode)

Get the ErrorCodeDescription tied to the provided errorCode

Parameters

errorCode
int
the service error code, such as 404, or 429001

Returns

the corresponding ErrorCodeDescription

valueOf(String name)

public static ErrorCodeDescription valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static ErrorCodeDescription[] values()

Returns

Applies to