ProvisioningServiceClientUnathorizedException Class
- java.
lang. Object - Exception
- ProvisioningServiceClientException
- ProvisioningServiceClientServiceException
- ProvisioningServiceClientBadUsageException
- com.
microsoft. azure. sdk. iot. provisioning. service. exceptions. ProvisioningServiceClientUnathorizedException
- com.
public class ProvisioningServiceClientUnathorizedException extends ProvisioningServiceClientBadUsageException
Create unauthorized exception
The authorization token cannot be validated; for example, it is expired or does not apply to the request’s URI. This error code is also returned to devices as part of the TPM attestation flow.
HTTP status code 401
Constructor Summary
Constructor | Description | |
---|---|---|
ProvisioningServiceClientUnathorizedException() | ||
ProvisioningServiceClientUnathorizedException(String message) |
Inherited Members
ProvisioningServiceClientBadUsageException.ProvisioningServiceClientBadUsageException()
ProvisioningServiceClientBadUsageException.ProvisioningServiceClientBadUsageException(String message)
ProvisioningServiceClientBadUsageException.ProvisioningServiceClientBadUsageException(String message, Throwable cause)
ProvisioningServiceClientBadUsageException.ProvisioningServiceClientBadUsageException(Throwable cause)
ProvisioningServiceClientException.ProvisioningServiceClientException()
ProvisioningServiceClientException.ProvisioningServiceClientException(String message)
ProvisioningServiceClientException.ProvisioningServiceClientException(String message, Throwable cause)
ProvisioningServiceClientException.ProvisioningServiceClientException(Throwable cause)
ProvisioningServiceClientServiceException.ProvisioningServiceClientServiceException()
ProvisioningServiceClientServiceException.ProvisioningServiceClientServiceException(String message)
ProvisioningServiceClientServiceException.ProvisioningServiceClientServiceException(String message, Throwable cause)
ProvisioningServiceClientServiceException.ProvisioningServiceClientServiceException(Throwable cause)
Constructor Details
ProvisioningServiceClientUnathorizedException
public ProvisioningServiceClientUnathorizedException()
ProvisioningServiceClientUnathorizedException
public ProvisioningServiceClientUnathorizedException(String message)
Parameters:
message
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java