Class ReactionBlockedException

  • All Implemented Interfaces:
    Serializable


    public class ReactionBlockedException
    extends MissingPermissionsException
    When the user of the connected account cannot add a reaction to a message a user has written. This might happen when the user blocked you.
    See Also:
    Serialized Form
    • Constructor Detail

      • ReactionBlockedException

        public ReactionBlockedException​(Exception origin,
                                        String message,
                                        RestRequestInformation request,
                                        RestRequestResponseInformation response)
        Creates a new instance of this class.
        Parameters:
        origin - The origin of the exception.
        message - The message of the exception.
        request - The information about the request.
        response - The information about the response.