ProvisioningServiceClientBadUsageException Class

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

Constructor Description
ProvisioningServiceClientBadUsageException()
ProvisioningServiceClientBadUsageException(String message)
ProvisioningServiceClientBadUsageException(String message, Throwable cause)
ProvisioningServiceClientBadUsageException(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

ProvisioningServiceClientBadUsageException

public ProvisioningServiceClientBadUsageException()

ProvisioningServiceClientBadUsageException

public ProvisioningServiceClientBadUsageException(String message)

Parameters:

message

ProvisioningServiceClientBadUsageException

public ProvisioningServiceClientBadUsageException(String message, Throwable cause)

Parameters:

message
cause

ProvisioningServiceClientBadUsageException

public ProvisioningServiceClientBadUsageException(Throwable cause)

Parameters:

cause

Applies to