~ubuntu-branches/ubuntu/wily/apgdiff/wily

« back to all changes in this revision

Viewing changes to src/main/java/cz/startnet/utils/pgdiff/loader/FileException.java

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2009-12-02 11:11:33 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202111133-k5wrh3zb2pzmbv8c
Tags: 1.4-1
* New upstream version. (Without changelog, I am afraid.)
* Test suite still not enabled as it needs network access. (The junit
  version in Debian needs upgrading.)
* Optimize rules files a bit so debhelper doesn't clean twice, and quilt's
  patch target doesn't prevent build-stamp from working.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * $Id: FileException.java 80 2007-09-01 20:25:45Z fordfrog $
3
 
 */
4
1
package cz.startnet.utils.pgdiff.loader;
5
2
 
6
3
/**
7
4
 * Exception thrown if problem occured while reading or writing file.
8
5
 *
9
6
 * @author fordfrog
10
 
 * @version $Id: FileException.java 80 2007-09-01 20:25:45Z fordfrog $
11
7
 */
12
8
public class FileException extends RuntimeException {
 
9
 
13
10
    /**
14
11
     * Predefined message that can be used when cannot read file.
15
12
     */
29
26
     *
30
27
     * @param msg the detail message
31
28
     */
32
 
    public FileException(String msg) {
 
29
    public FileException(final String msg) {
33
30
        super(msg);
34
31
    }
35
32
 
40
37
     * @param msg the detail message
41
38
     * @param cause cause of the exception
42
39
     */
43
 
    public FileException(String msg, Throwable cause) {
 
40
    public FileException(final String msg, final Throwable cause) {
44
41
        super(msg, cause);
45
42
    }
46
43
}