Package studio.mevera.imperat.exception
Class PermissionDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
studio.mevera.imperat.exception.ImperatException
studio.mevera.imperat.exception.PermissionDeniedException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionDeniedException(@NotNull CommandUsage<S> usage, @NotNull String lackingPermission, @Nullable CommandParameter<S> targetParameter, Context<S> context) PermissionDeniedException(CommandPathSearch<S> pathSearch, Context<S> context) -
Method Summary
Modifier and TypeMethodDescription<S extends Source>
@Nullable CommandParameter<S>@NotNull String<S extends Source>
@NotNull CommandUsage<S>getUsage()Methods inherited from class studio.mevera.imperat.exception.ImperatException
getCtxMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PermissionDeniedException
public PermissionDeniedException(@NotNull @NotNull CommandUsage<S> usage, @NotNull @NotNull String lackingPermission, @Nullable @Nullable CommandParameter<S> targetParameter, Context<S> context) -
PermissionDeniedException
-
-
Method Details
-
getLackingPermission
-
getUsage
-
getInAccessibleParameter
-