Class PermissionNotRegisteredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.incendo.cloud.neoforge.PermissionNotRegisteredException
All Implemented Interfaces:
Serializable

public final class PermissionNotRegisteredException extends RuntimeException
Exception thrown when a permission lookup is performed with a permission not registered to NeoForge.
See Also:
  • Method Details

    • permission

      public @NonNull String permission()
      Returns the unregistered permission
      Returns:
      the unregistered permission