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

public final class InvalidParticipantException extends com.azure.core.exception.AzureException
Exception when a participant cannot be added to a chat thread
See Also:
  • Constructor Details

    • InvalidParticipantException

      public InvalidParticipantException(ChatError chatError)
      Constructs a new InvalidParticipantException
      Parameters:
      chatError - the ChatError underlying this exception
  • Method Details

    • getChatError

      public ChatError getChatError()
      Gets the underlying ChatError returned from the server
      Returns:
      the CHatError