Class MissingEntityInteractionPermissionsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
net.dv8tion.jda.api.exceptions.MissingEntityInteractionPermissionsException
All Implemented Interfaces:
Serializable

public class MissingEntityInteractionPermissionsException extends IllegalStateException
Exception occurring on detached entities, indicating that the permissions could not be checked on this combination of channel and member.

Getting/Checking the permissions of a Member in a given GuildChannel, will only work under certain circumstances:

See Also:
  • Constructor Details

    • MissingEntityInteractionPermissionsException

      public MissingEntityInteractionPermissionsException(String reason)
      Creates a new MissingEntityInteractionPermissionsException
      Parameters:
      reason - The reason for this Exception