Class InvalidParticipantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.communication.chat.models.InvalidParticipantException
- All Implemented Interfaces:
Serializable
Exception when a participant cannot be added to a chat thread
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidParticipantException
(ChatError chatError) Constructs a new InvalidParticipantException -
Method Summary
Modifier and TypeMethodDescriptionGets the underlying ChatError returned from the serverMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidParticipantException
Constructs a new InvalidParticipantException- Parameters:
chatError
- the ChatError underlying this exception
-
-
Method Details
-
getChatError
Gets the underlying ChatError returned from the server- Returns:
- the CHatError
-