Class PermissionDeniedException

All Implemented Interfaces:
Serializable

public final class PermissionDeniedException extends ImperatException
See Also:
  • Constructor Details

    • PermissionDeniedException

      public PermissionDeniedException(@NotNull @NotNull CommandUsage<S> usage, @NotNull @NotNull String lackingPermission, @Nullable @Nullable CommandParameter<S> targetParameter, Context<S> context)
    • PermissionDeniedException

      public PermissionDeniedException(CommandPathSearch<S> pathSearch, Context<S> context)
  • Method Details

    • getLackingPermission

      @NotNull public @NotNull String getLackingPermission()
    • getUsage

      @NotNull public <S extends Source> @NotNull CommandUsage<S> getUsage()
    • getInAccessibleParameter

      @Nullable public <S extends Source> @Nullable CommandParameter<S> getInAccessibleParameter()