ProvisioningServiceClientBadUsageException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. sdk. iot. provisioning. service. exceptions. ProvisioningServiceClientException - com.
microsoft. azure. sdk. iot. provisioning. service. exceptions. ProvisioningServiceClientServiceException - com.
microsoft. azure. sdk. iot. provisioning. service. exceptions. ProvisioningServiceClientBadUsageException
- com.
- com.
- com.
- java.
- java.
public class ProvisioningServiceClientBadUsageException
extends ProvisioningServiceClientServiceException
This is the subset of the Device Provisioning Service exceptions for the exceptions related to usage error.
The provisioning service will response a http request with one of the bad usage exception if the rest API was properly called, with a usage issue, for instance the user is not authorized for that operation.
HTTP status code 400 to 499.
Constructor Summary
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ProvisioningServiceClientBadUsageException
public ProvisioningServiceClientBadUsageException()
ProvisioningServiceClientBadUsageException
public ProvisioningServiceClientBadUsageException(String message)
Parameters:
ProvisioningServiceClientBadUsageException
public ProvisioningServiceClientBadUsageException(String message, Throwable cause)
Parameters:
ProvisioningServiceClientBadUsageException
public ProvisioningServiceClientBadUsageException(Throwable cause)
Parameters:
Applies to
Azure SDK for Java