Package net.dv8tion.jda.api.exceptions
Class HierarchyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.dv8tion.jda.api.exceptions.PermissionException
net.dv8tion.jda.api.exceptions.HierarchyException
- All Implemented Interfaces:
- Serializable
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 SummaryConstructors
- 
Method SummaryMethods inherited from class net.dv8tion.jda.api.exceptions.PermissionExceptiongetPermissionMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
HierarchyException
 
-