Class 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:
    Serialized Form
    • Constructor Detail

      • UnreadableFileException

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

      • getFile

        public File getFile()