Class UnknownMessageException

  • All Implemented Interfaces:
    Serializable


    public class UnknownMessageException
    extends NotFoundException
    When the message that was referenced, for example for adding a reaction to, is not a message Discord knows about (anymore).
    See Also:
    Serialized Form
    • Constructor Detail

      • UnknownMessageException

        public UnknownMessageException​(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.