Skip to content
Success

Changes

Summary

  1. Enhanced exception UX (#437) (commit: 1fbf1fc) (details)
Commit 1fbf1fcde88d504f47edcb741fc0adc89ac6a4bd by noreply
Enhanced exception UX (#437)
Replaced a lot of raw RuntimeExceptions with more specific throwables
Split up PermissionException into InsufficientPermissionException and
HierarchyException for userfriendly multi-catch
(commit: 1fbf1fc)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDABuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/exceptions/PermissionException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/PermOverrideManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/RoleManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/ChannelOrderAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Invite.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/ClientRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/BotRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MessageImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/MessagePaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/VoiceChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/GuildCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/EmoteImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/exceptions/InsufficientPermissionException.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/WidgetUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageHistory.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Response.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/RoleManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/GuildController.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/RoleOrderAction.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/exceptions/HierarchyException.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/InviteImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/WebhookManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/MiscUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Guild.java (diff)
The file was modifiedbuild.gradle (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/AudioManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/fields/Field.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Channel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageReaction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/TextChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/TextChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/PermOverrideManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Emote.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/GuildManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/AuditLogPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/AbstractChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/fields/PermissionField.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/WebhookManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Icon.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/ChannelManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/PermissionOverrideImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/RoleImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/managers/EmoteManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/RoleAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/PermissionOverride.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Role.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/managers/EmoteManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/MessageBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/ChannelManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/RestAction.java (diff)