Package net.dv8tion.jda.api.exceptions
Class MissingAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.dv8tion.jda.api.exceptions.PermissionException
net.dv8tion.jda.api.exceptions.InsufficientPermissionException
net.dv8tion.jda.api.exceptions.MissingAccessException
- All Implemented Interfaces:
Serializable
Indicates that the user is missing the
VIEW_CHANNEL
or VOICE_CONNECT
permission.- Since:
- 4.2.1
- See Also:
-
Constructor Summary
ConstructorDescriptionMissingAccessException
(GuildChannel channel, Permission permission) MissingAccessException
(GuildChannel channel, Permission permission, String reason) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.exceptions.InsufficientPermissionException
getChannel, getChannelId, getChannelType, getGuild, getGuildId
Methods inherited from class net.dv8tion.jda.api.exceptions.PermissionException
getPermission
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingAccessException
-
MissingAccessException
public MissingAccessException(@Nonnull GuildChannel channel, @Nonnull Permission permission, @Nonnull String reason)
-