source: SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRUClientException.java @ 6938

Last change on this file since 6938 was 6938, checked in by Oliver Schonefeld, 8 years ago
  • fix copyright
  • fix some code formatting
  • fix JavaDoc? warnings
  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1/**
2 * This software is copyright (c) 2012-2016 by
3 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
4 * This is free software. You can redistribute it
5 * and/or modify it under the terms described in
6 * the GNU General Public License v3 of which you
7 * should have received a copy. Otherwise you can download
8 * it from
9 *
10 *   http://www.gnu.org/licenses/gpl-3.0.txt
11 *
12 * @copyright Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
13 *
14 * @license http://www.gnu.org/licenses/gpl-3.0.txt
15 *  GNU General Public License v3
16 */
17package eu.clarin.sru.client;
18
19/**
20 * SRU client exception.
21 */
22@SuppressWarnings("serial")
23public class SRUClientException extends Exception {
24
25    /**
26     * Constructor
27     *
28     * @param message an error message
29     */
30    public SRUClientException(String message) {
31        super(message);
32    }
33
34
35    /**
36     * Constructor
37     *
38     * @param message an error message
39     * @param cause the cause of the error
40     */
41    public SRUClientException(String message, Throwable cause) {
42        super(message, cause);
43    }
44
45} // class SRUClientException
Note: See TracBrowser for help on using the repository browser.