Class UnreadableFileException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thebuzzmedia.exiftool.exceptions.UnreadableFileException
All Implemented Interfaces:
Serializable

public class UnreadableFileException extends RuntimeException
Exception thrown when a file cannot be read. A file cannot be read because: - It does not exist. - It is corrupted and cannot be read.
See Also:
  • Constructor Details

    • UnreadableFileException

      public UnreadableFileException(File file, String message)
      Create exception.
      Parameters:
      file - Unreadable file.
      message - Error message.
  • Method Details

    • getFile

      public File getFile()
      Get file
      Returns:
      file