public class BackupException
extends java.lang.Exception
Exception to report that a backup process has failed.
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
source
The source file to be backup.
|
| Constructor and Description |
|---|
BackupException(java.lang.String message,
java.lang.Throwable cause,
java.io.File source)
Constructs a new backup exception with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getSource()
Gets the source file to be backup.
|
public BackupException(java.lang.String message,
java.lang.Throwable cause,
java.io.File source)
Constructs a new backup exception with the specified detail message and cause.
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 backupException.Exception(String, Throwable)