Class WrongAccessException

All Implemented Interfaces:
Serializable

public class WrongAccessException extends RuntimeException
Exception thrown to indicate an attempt to access a resource without proper authorization.

This exception is typically used when a user tries to access a resource for which they do not have the necessary permissions or authentication.

Inherits from RuntimeException for unchecked exception handling.

See Also:
  • Constructor Details

    • WrongAccessException

      public WrongAccessException(String message)
      Constructs a new WrongAccessException with the specified error message.
      Parameters:
      message - The detail message indicating the reason for the unauthorized access attempt.