Class ImageNotFoundException

All Implemented Interfaces:
Serializable

public class ImageNotFoundException extends NotFoundException
An exception thrown when an image is not found.
Author:
Brage Halvorsen Kvamme, Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • ImageNotFoundException

      public ImageNotFoundException(String imageName)
      This method constructs an ImageNotFoundException with the specified image name.
      Parameters:
      imageName - The name of the image that was not found, given as a String.
    • ImageNotFoundException

      public ImageNotFoundException(Long imageId)
      This method constructs an ImageNotFoundException with the specified image ID.
      Parameters:
      imageId - The ID of the image that was not found, given as a Long object.