Class FulfillRequestedUploadRequestException.UserNotMemberOfChat

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException
de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException.UserNotMemberOfChat
All Implemented Interfaces:
IErrorDetails, Serializable
Enclosing class:
FulfillRequestedUploadRequestException

public static class FulfillRequestedUploadRequestException.UserNotMemberOfChat extends FulfillRequestedUploadRequestException
Exception indicating that the user is not a member of the chat containing the message with the upload request.
Since:
8.2.0
See Also:
  • Constructor Details

    • UserNotMemberOfChat

      public UserNotMemberOfChat(IUser user, FormRecordChat chat, FormRecordMessageUploadRequest uploadRequest)
      Constructs a new exception indicating that the user is not a member of the chat containing the message with the upload request.
      Parameters:
      user - The user who is not a member of the chat.
      chat - The chat that the user is not a member of.
      uploadRequest - The upload request that the user is trying to fulfill.
  • Method Details

    • chat

      public FormRecordChat chat()
      The chat that the user is not a member of.
      Returns:
      The chat that the user is not a member of.
    • uploadRequest

      public FormRecordMessageUploadRequest uploadRequest()
      The upload request that the user is trying to fulfill.
      Returns:
      The upload request that the user is trying to fulfill.
    • user

      public IUser user()
      The user who is not a member of the chat.
      Returns:
      The user who is not a member of the chat.
    • getErrorCode

      public String getErrorCode()
      Returns:
      the related error code string (as a technical error description)
    • getHttpStatusCode

      public int getHttpStatusCode()
      Returns:
      the HTTP status code related to this error