Debian Codegraph @

src/uk/me/parabola/imgfmt/FileNotWritableException.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2007 Steve Ratcliffe
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 *
14 * Author: Steve Ratcliffe
15 * Create date: 02-Sep-2007
16 */
17 package uk.me.parabola.imgfmt;
18
19 import java.io.IOException;
20
21 /**
22 * If a file cannot be created, or written to, then this exception is thrown.
23 * @author Steve Ratcliffe
24 */
25 public class FileNotWritableException extends IOException {
26 public FileNotWritableException(String s, Exception e) {
27 // super class does not have the constructor that takes an exception
28 super(s + ' ' + e.getMessage());
29 }
30 }