ProtocolException 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. ProtocolException
- com.
- com.
- com.
- java.
- java.
public class ProtocolException
extends TransportException
Exception class that covers all exceptions that occur within transport protocol communication. For example, if a amqp:connection:forced exception is given by AMQP.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ProtocolException() | ||
| ProtocolException(String message) | ||
| ProtocolException(String message, Throwable cause) | ||
| ProtocolException(Throwable cause) | ||
Methods inherited from TransportException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ProtocolException
public ProtocolException()
ProtocolException
public ProtocolException(String message)
Parameters:
ProtocolException
public ProtocolException(String message, Throwable cause)
Parameters:
ProtocolException
public ProtocolException(Throwable cause)
Parameters: