你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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]

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