ProvisioningServiceClientException Class

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

public class ProvisioningServiceClientException

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)

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