Class PermissionBackendException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ru.tehkode.permissions.exceptions.PermissionBackendException
All Implemented Interfaces:
Serializable

public class PermissionBackendException extends Exception
Checked exception thrown when a permission backend operation fails.

Used for recoverable storage errors during reload, save, close, and similar backend lifecycle operations. Initialization failures may be wrapped in RuntimeException by PermissionBackend.getBackend(java.lang.String, ru.tehkode.permissions.PermissionManager, ru.tehkode.permissions.PEXBackendConfiguration).

See Also:
  • Constructor Details

    • PermissionBackendException

      public PermissionBackendException()
      Creates an exception with no detail message.
    • PermissionBackendException

      public PermissionBackendException(String message)
      Creates an exception with the given detail message.
      Parameters:
      message - human-readable error description
    • PermissionBackendException

      public PermissionBackendException(String message, Throwable cause)
      Creates an exception with the given detail message and cause.
      Parameters:
      message - human-readable error description
      cause - underlying cause of the failure
    • PermissionBackendException

      public PermissionBackendException(Throwable cause)
      Creates an exception wrapping the given cause.
      Parameters:
      cause - underlying cause of the failure