Aracılığıyla paylaş


ProvisioningServiceClientException Class

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.microsoft.azure.sdk.iot.provisioning.service.exceptions.ProvisioningServiceClientException

public class ProvisioningServiceClientException
extends java.lang.Exception

Super class for the Device Provisioning Service exceptions on the Service Client.

ProvisioningServiceClientException
     |
     +-->ProvisioningServiceClientTransportException [any transport layer exception]
     |
     +-->ProvisioningServiceClientServiceException [any exception reported in the http response]
             |
             |
             +-->ProvisioningServiceClientBadUsageException [any http response 4xx]
             |        |
             |        +-->ProvisioningServiceClientBadFormatException [400]
             |        +-->ProvisioningServiceClientUnathorizedException [401]
             |        +-->ProvisioningServiceClientNotFoundException [404]
             |        +-->ProvisioningServiceClientPreconditionFailedException [412]
             |        +-->ProvisioningServiceClientTooManyRequestsException [429]
             |
             +-->ProvisioningServiceClientTransientException [any http response 5xx]
             |        |
             |        +-->ProvisioningServiceClientInternalServerErrorException [500]
             |
             +-->ProvisioningServiceClientUnknownException [any other http response >300, but not 4xx or 5xx]

Constructor Summary

Constructor Description
ProvisioningServiceClientException()
ProvisioningServiceClientException(String message)
ProvisioningServiceClientException(String message, Throwable cause)
ProvisioningServiceClientException(Throwable cause)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods inherited from java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Constructor Details

ProvisioningServiceClientException

public ProvisioningServiceClientException()

ProvisioningServiceClientException

public ProvisioningServiceClientException(String message)

Parameters:

message

ProvisioningServiceClientException

public ProvisioningServiceClientException(String message, Throwable cause)

Parameters:

message
cause

ProvisioningServiceClientException

public ProvisioningServiceClientException(Throwable cause)

Parameters:

cause

Applies to