Java

UnauthorizedAccessException

The UnauthorizedAccessException is thrown when an attempt is made to access a resource or perform an action without proper authentication or authorization.
  • Module: core
  • Type: class
  • Package: com.euonia.security
  • Extends: RuntimeException

Methods

UnauthorizedAccessException (constructor)

Creates a new UnauthorizedAccessException with the specified message.
  • Parameters:
  • message (String): The detail message for the exception

UnauthorizedAccessException (constructor)

Creates a new UnauthorizedAccessException with the specified message and cause.
  • Parameters:
  • message (String): The detail message for the exception
  • cause (Throwable): The cause of the exception