|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ModuleFileNotFoundException.java | - | 100% | 100% | 100% |
|
1 | /* $Id: ModuleFileNotFoundException.java,v 1.3 2007/05/10 00:37:51 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2007, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.bo.load; | |
19 | ||
20 | import org.qedeq.kernel.common.XmlFileException; | |
21 | import org.qedeq.kernel.common.XmlFileExceptionList; | |
22 | import org.qedeq.kernel.xml.parser.DefaultXmlFileExceptionList; | |
23 | ||
24 | /** | |
25 | * QEDEQ module file was not found in local file buffer. | |
26 | * | |
27 | * @version $Revision: 1.3 $ | |
28 | * @author Michael Meyling | |
29 | */ | |
30 | class ModuleFileNotFoundException extends Exception { | |
31 | ||
32 | /** | |
33 | * Constructor. | |
34 | * | |
35 | * @param message Message. | |
36 | */ | |
37 | 2 | ModuleFileNotFoundException(final String message) { |
38 | 2 | super(message); |
39 | } | |
40 | ||
41 | 1 | XmlFileExceptionList createXmlFileExceptionList() { |
42 | 1 | final DefaultXmlFileExceptionList list = new DefaultXmlFileExceptionList(); |
43 | 1 | list.add(new XmlFileException(this)); |
44 | 1 | return list; |
45 | } | |
46 | ||
47 | } | |
48 |
|