UnauthorizedException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. sdk. iot. device. exceptions. DeviceClientException - com.
microsoft. azure. sdk. iot. device. exceptions. TransportException - com.
microsoft. azure. sdk. iot. device. exceptions. IotHubServiceException - com.
microsoft. azure. sdk. iot. device. exceptions. UnauthorizedException
- com.
- com.
- com.
- com.
- java.
- java.
public class UnauthorizedException
extends IotHubServiceException
Constructor Summary
| Constructor | Description | |
|---|---|---|
| UnauthorizedException() | ||
| UnauthorizedException(String message) | ||
| UnauthorizedException(String message, Throwable cause) | ||
| UnauthorizedException(Throwable cause) | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Iot |
getStatusCode() |
Methods inherited from IotHubServiceException
Methods inherited from TransportException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
UnauthorizedException
public UnauthorizedException()
UnauthorizedException
public UnauthorizedException(String message)
Parameters:
UnauthorizedException
public UnauthorizedException(String message, Throwable cause)
Parameters:
UnauthorizedException
public UnauthorizedException(Throwable cause)
Parameters:
Method Details
getStatusCode
public IotHubStatusCode getStatusCode()
Overrides:
UnauthorizedException.getStatusCode()