CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.exceptions.ConflictingPermissionsException Class Reference

An exception caused when the same permission is registered to a command. More...

+ Inheritance diagram for dev.jorel.commandapi.exceptions.ConflictingPermissionsException:

Public Member Functions

 ConflictingPermissionsException (String command, CommandPermission currentPermission, CommandPermission conflictingPermission)
 Creates a ConflictingPermissionsException. More...
 

Detailed Description

An exception caused when the same permission is registered to a command.

Constructor & Destructor Documentation

◆ ConflictingPermissionsException()

dev.jorel.commandapi.exceptions.ConflictingPermissionsException.ConflictingPermissionsException ( String  command,
CommandPermission  currentPermission,
CommandPermission  conflictingPermission 
)

Creates a ConflictingPermissionsException.

Parameters
commandthe command that has conflicting permissions
currentPermissionthe permission that already exists on this command
conflictingPermissionthe permission that was tried to be assigned to the command