Class FileUtil.AutoDeleteFolder.TemporaryFileDeletionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com._1c.g5.v8.dt.common.FileUtil.AutoDeleteFolder.TemporaryFileDeletionException
All Implemented Interfaces:
Serializable
Enclosing class:
FileUtil.AutoDeleteFolder

public class FileUtil.AutoDeleteFolder.TemporaryFileDeletionException extends IOException
Exception indicating that a temporary folder (or file) could not be deleted once not needed anymore.

Client code could probably want to react to deletion error more gracefully than on creation error because failure to cleanup junk is not as severe as a failure to create temporary directory that will be used later.

Use getFile() to get the folder that could not be deleted.

See Also:
  • Method Details

    • getFile

      public File getFile()
      Gets folder (or file) that could not be deleted.
      Returns:
      Erroneous folder (or file). Never null.