com.microsoft.azure.sdk.iotcentral.device.exceptions.IoTCentralException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotc-java-device-client Show documentation
Show all versions of iotc-java-device-client Show documentation
The Azure IoTCentral Device client for Java and Android
// Copyright (c) Luca Druda. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package com.microsoft.azure.sdk.iotcentral.device.exceptions;
import com.microsoft.azure.sdk.iotcentral.device.enums.IOTC_CONNECTION_STATE;
public class IoTCentralException extends Exception {
private static final long serialVersionUID = 1L;
private IOTC_CONNECTION_STATE connectionState;
public IoTCentralException() {
super();
}
public IoTCentralException(String message) {
super(message);
}
public IoTCentralException(IOTC_CONNECTION_STATE connectionState) {
super();
this.connectionState = connectionState;
}
/**
* @return the connectionState
*/
public IOTC_CONNECTION_STATE getConnectionState() {
return connectionState;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy