Class UnwritableFileException

  • All Implemented Interfaces:
    Serializable

    public class UnwritableFileException
    extends RuntimeException
    Exception thrown when a file cannot be written. A file cannot be written because: - It does not exist. - It is corrupted and cannot be updated.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnwritableFileException

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

      • getFile

        public File getFile()