Package net.dv8tion.jda.api.exceptions
All custom exceptions of the JDA library
-
Exception Summary Exception Description AccountTypeException Indicates that an operation is not possible unless theAccountType
matches the one provided inAccountTypeException.getRequiredType()
ContextException Used to pass a context to async exception handling for debugging purposes.ErrorResponseException Indicates an unhandled error that is returned by Discord API Request usingRestAction
It holds anErrorResponse
GuildUnavailableException Indicates that aGuild
is notavailable
Thrown when an operation requires a Guild to be available andGuild#isAvailable()
isfalse
HierarchyException HttpException InsufficientPermissionException ParsingException PermissionException Indicates that the currently logged in account does not meet the specifiedPermission
fromPermissionException.getPermission()
RateLimitedException Indicates that we received a429: Too Many Requests
responseVerificationLevelException