1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package cz.startnet.utils.pgdiff.loader;
/**
* Exception thrown if problem occured while reading or writing file.
*
* @author fordfrog
*/
public class FileException extends RuntimeException {
/**
* Predefined message that can be used when cannot read file.
*/
public static final String CANNOT_READ_FILE = "Cannot read file";
/**
* Creates a new instance of <code>FileException</code> without
* detail message.
*/
public FileException() {
super();
}
/**
* Constructs an instance of <code>FileException</code> with the
* specified detail message.
*
* @param msg the detail message
*/
public FileException(final String msg) {
super(msg);
}
/**
* Constructs an instance of <code>FileException</code> with the
* specified detail message.
*
* @param msg the detail message
* @param cause cause of the exception
*/
public FileException(final String msg, final Throwable cause) {
super(msg, cause);
}
}
|