public class NoPermissionException
extends java.lang.RuntimeException
CommandActor lacks the required permission to
execute the given command or category.| Constructor and Description |
|---|
NoPermissionException(@NotNull RequiresPermission<?> target) |
| Modifier and Type | Method and Description |
|---|---|
<A extends CommandActor> |
target() |
public NoPermissionException(@NotNull
@NotNull RequiresPermission<?> target)
@NotNull public <A extends CommandActor> @NotNull RequiresPermission<A> target()