Class AccessException

All Implemented Interfaces:
Serializable

public final class AccessException extends RuntimeException
Exception that indicates that an access check failed.

Note that, to minimize the runtime overhead of using this exception (as it is functionally just a result marker used to simplify control flow), it does not record the stack trace or suppressed exceptions.

Since:
1.0
Version:
1.0
See Also:
  • Field Details

    • group

      public final transient Group group
      The group that was required for access.
  • Constructor Details

    • AccessException

      public AccessException(Group group)
      Creates a new instance.
      Parameters:
      group - The group that was required for access.