Class CommunicationError
- java.lang.Object
-
- com.azure.communication.networktraversal.models.CommunicationError
-
public final class CommunicationError extends Object
The Communication Services error.
-
-
Constructor Summary
Constructors Constructor Description CommunicationError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the code property: The error code.List<CommunicationError>
getDetails()
Get the details property: Further details about specific errors that led to this error.CommunicationError
getInnerError()
Get the innerError property: The inner error if any.String
getMessage()
Get the message property: The error message.String
getTarget()
Get the target property: The error target.CommunicationError
setCode(String code)
Set the code property: The error code.CommunicationError
setMessage(String message)
Set the message property: The error message.
-
-
-
Method Detail
-
getCode
public String getCode()
Get the code property: The error code.- Returns:
- the code value.
-
setCode
public CommunicationError setCode(String code)
Set the code property: The error code.- Parameters:
code
- the code value to set.- Returns:
- the CommunicationError object itself.
-
getMessage
public String getMessage()
Get the message property: The error message.- Returns:
- the message value.
-
setMessage
public CommunicationError setMessage(String message)
Set the message property: The error message.- Parameters:
message
- the message value to set.- Returns:
- the CommunicationError object itself.
-
getTarget
public String getTarget()
Get the target property: The error target.- Returns:
- the target value.
-
getDetails
public List<CommunicationError> getDetails()
Get the details property: Further details about specific errors that led to this error.- Returns:
- the details value.
-
getInnerError
public CommunicationError getInnerError()
Get the innerError property: The inner error if any.- Returns:
- the innerError value.
-
-