Class HierarchyException

All Implemented Interfaces:
Serializable

public class HierarchyException extends PermissionException
Exception indicating that a specific action requires to have a higher role than the target.

This can also indicate that the target is the owner of the guild. For instance, when trying to modify the guild owner's nickname.

See Also:
  • Constructor Details

    • HierarchyException

      public HierarchyException(String reason)