Class NotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.glowmart.shop_management.exception.NotFoundException
All Implemented Interfaces:
Serializable

@ResponseStatus(NOT_FOUND) public class NotFoundException extends RuntimeException
Exception thrown when a requested role is not found in the system.
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(String message)
      Constructs a new NotFoundRoleException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the exception