1 /*
2 * Copyright 1999-2006 Faculty of Mathematics, Physics and Informatics, Comenius
3 * University, Bratislava. This file is protected by the Mozilla Public License
4 * version 1.1 (the "License"); you may not use this file except in compliance
5 * with the License. You may obtain a copy of the License at
6 * http://euromath2.sourceforge.net/license.html Unless required by applicable
7 * law or agreed to in writing, software distributed under the License is
8 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9 * KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12 package sk.uniba.euromath.document;
13 /***
14 * Document exception.
15 * @author Martin Vysny
16 */
17 public class DocumentException extends Exception {
18 /***
19 * uid.
20 */
21 private static final long serialVersionUID = -3800880703108925804L;
22 /***
23 * Constructor.
24 * @param msg
25 */
26 public DocumentException(String msg) {
27 super(msg);
28 }
29 /***
30 * Constructor.
31 * @param message
32 * @param cause
33 */
34 public DocumentException(String message, Throwable cause) {
35 super(message, cause);
36 }
37 /***
38 * Constructor.
39 * @param cause
40 */
41 public DocumentException(Throwable cause) {
42 super(cause);
43 }
44 }