ProtocolException Class
- java.
lang. Object - Exception
- TransportException
- com.
microsoft. azure. sdk. iot. device. transport. ProtocolException
- com.
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) |
Inherited Members
TransportException.isRetryable
TransportException.isRetryable()
TransportException.setRetryable(boolean isRetryable)
TransportException.toIotHubClientException()
TransportException.TransportException()
TransportException.TransportException(String message)
TransportException.TransportException(String message, Throwable cause)
TransportException.TransportException(Throwable cause)
Constructor Details
ProtocolException
public ProtocolException()
ProtocolException
public ProtocolException(String message)
Parameters:
message
ProtocolException
public ProtocolException(String message, Throwable cause)
Parameters:
message
cause
ProtocolException
public ProtocolException(Throwable cause)
Parameters:
cause
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java