PahoExceptionTranslator Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.PahoExceptionTranslator

public class PahoExceptionTranslator

Method Summary

Modifier and Type Method and Description
ProtocolException convertToMqttException(MqttException pahoException, String errorMessage)

Method Details

convertToMqttException

public static ProtocolException convertToMqttException(MqttException pahoException, String errorMessage)

Parameters:

pahoException
errorMessage

Applies to