Class BackupException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gvsig.tools.backup.exceptions.BackupException
All Implemented Interfaces:
Serializable

public class BackupException extends Exception

Exception to report that a backup process has failed.

Author:
Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
See Also:
  • Field Details

    • source

      protected File source

      The source file to be backup.

  • Constructor Details

    • BackupException

      public BackupException(String message, Throwable cause, File source)

      Constructs a new backup exception with the specified detail message and cause.

      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
      cause - the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      source - the file from that was going to be done a backup
      See Also:
  • Method Details

    • getSource

      public File getSource()

      Gets the source file to be backup.

      Returns:
      the source file