Class UserNotFoundException

All Implemented Interfaces:
Serializable

public class UserNotFoundException extends NotFoundException
An exception that indicates that a user was not found. It extends the NotFoundException class, which extends RuntimeException, so it's a RuntimeException.
Author:
Brage Halvorsen Kvamme, Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • UserNotFoundException

      public UserNotFoundException(String value)
      This method constructs a UserNotFoundException with the specified value as the cause.
      Parameters:
      value - The value that caused the exception to be thrown, given as a String.
    • UserNotFoundException

      public UserNotFoundException(Long id)
      This method constructs a UserNotFoundException with the specified id as the cause.
      Parameters:
      id - The id that caused the exception to be thrown, given as a Long.