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:
- java.io.Serializable
 
 public class MissingAccessException extends InsufficientPermissionException Indicates that the user is missing theVIEW_CHANNELorVOICE_CONNECTpermission.- Since:
- 4.2.1
- See Also:
- IPermissionHolder.hasAccess(GuildChannel), Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MissingAccessException(GuildChannel channel, Permission permission)MissingAccessException(GuildChannel channel, Permission permission, java.lang.String reason)
 - 
Method Summary- 
Methods inherited from class net.dv8tion.jda.api.exceptions.InsufficientPermissionExceptiongetChannel, getChannelId, getChannelType, getGuild, getGuildId
 - 
Methods inherited from class net.dv8tion.jda.api.exceptions.PermissionExceptiongetPermission
 
- 
 
- 
- 
- 
Constructor Detail- 
MissingAccessExceptionpublic MissingAccessException(@Nonnull GuildChannel channel, @Nonnull Permission permission)
 - 
MissingAccessExceptionpublic MissingAccessException(@Nonnull GuildChannel channel, @Nonnull Permission permission, @Nonnull java.lang.String reason)
 
- 
 
-