CallingCommunicationException Class
- java.
lang. Object - RuntimeException
- com.
azure. android. communication. calling. CallingCommunicationException
- com.
public class CallingCommunicationException
General purpose Exception class to capture all exceptions thrown from the Azure Communication Services for Calling
Constructor Summary
Constructor | Description |
---|---|
CallingCommunicationException() |
Creates a new instance of the CallingCommunicationException class |
CallingCommunicationException(CallingCommunicationErrors code, String message, String requestCorrelationVector, String responseCorrelationVector, Throwable cause) |
Creates a new instance of the CallingCommunicationException class |
CallingCommunicationException(CallingCommunicationErrors code, String message, String requestCorrelationVector, String responseCorrelationVector) |
Creates a new instance of the CallingCommunicationException class |
CallingCommunicationException(CallingCommunicationErrors code, String message) |
Creates a new instance of the CallingCommunicationException class |
CallingCommunicationException(CallingCommunicationErrors code) |
Creates a new instance of the CallingCommunicationException class |
Method Summary
Modifier and Type | Method and Description |
---|---|
Calling |
getErrorCode()
The error code associated with this exception instance. |
String |
getRequestCorrelationVector()
The request correlation-vector associated with this exception instance. |
String |
getResponseCorrelationVector()
The response correlation-vector associated with this exception instance. |
Constructor Details
CallingCommunicationException
public CallingCommunicationException()
Creates a new instance of the CallingCommunicationException class
CallingCommunicationException
public CallingCommunicationException(CallingCommunicationErrors code, String message, String requestCorrelationVector, String responseCorrelationVector, Throwable cause)
Creates a new instance of the CallingCommunicationException class
Parameters:
CallingCommunicationException
public CallingCommunicationException(CallingCommunicationErrors code, String message, String requestCorrelationVector, String responseCorrelationVector)
Creates a new instance of the CallingCommunicationException class
Parameters:
CallingCommunicationException
public CallingCommunicationException(CallingCommunicationErrors code, String message)
Creates a new instance of the CallingCommunicationException class
Parameters:
CallingCommunicationException
public CallingCommunicationException(CallingCommunicationErrors code)
Creates a new instance of the CallingCommunicationException class
Parameters:
Method Details
getErrorCode
public CallingCommunicationErrors getErrorCode()
The error code associated with this exception instance.
getRequestCorrelationVector
public String getRequestCorrelationVector()
The request correlation-vector associated with this exception instance.
getResponseCorrelationVector
public String getResponseCorrelationVector()
The response correlation-vector associated with this exception instance.