Class FileNotFoundException

All Implemented Interfaces:
Serializable

public class FileNotFoundException extends NotFoundException
This exception is thrown when a file with a given attribute and value cannot be found.
Author:
Brage Halvorsen Kvamme, Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • FileNotFoundException

      public FileNotFoundException(String attribute, String value)
      This method constructs a new FileNotFoundException with the given attribute and value.
      Parameters:
      attribute - The attribute of the file that was not found, given as a String
      value - The value of the attribute that was not found, given as a String
    • FileNotFoundException

      public FileNotFoundException(String attribute, Long value)
      This method constructs a new FileNotFoundException with the given attribute and value.
      Parameters:
      attribute - The attribute of the file that was not found, given as a String
      value - The value of the attribute that was not found, given as a Long object.