Package org.javacord.api.exception
Class UnknownEmojiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.javacord.api.exception.DiscordException
-
- org.javacord.api.exception.BadRequestException
-
- org.javacord.api.exception.UnknownEmojiException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownEmojiException extends BadRequestException
When the emoji that was sent, for example as reaction, is not an emoji Discord knows about.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownEmojiException(java.lang.Exception origin, java.lang.String message, RestRequestInformation request, RestRequestResponseInformation response)Creates a new instance of this class.
-
Method Summary
-
Methods inherited from class org.javacord.api.exception.DiscordException
getRequest, getResponse
-
-
-
-
Constructor Detail
-
UnknownEmojiException
public UnknownEmojiException(java.lang.Exception origin, java.lang.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.
-
-