Ignore:
Timestamp:
08/14/12 17:22:03 (12 years ago)
Author:
oschonef
Message:
  • add JavaDocs? to public API
  • fix wrong constructor visibility with *Request classes
  • do a better job in hiding some non-public API
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRUClientException.java

    r1963 r2088  
     1/**
     2 * This software is copyright (c) 2011 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 */
    117package eu.clarin.sru.client;
    218
     19/**
     20 * SRU client exception.
     21 */
    322@SuppressWarnings("serial")
    423public class SRUClientException extends Exception {
    524
     25    /**
     26     * Constructor
     27     *
     28     * @param message an error message
     29     */
    630    public SRUClientException(String message) {
    731        super(message);
     
    933
    1034
    11     public SRUClientException(String message, Throwable t) {
    12         super(message, t);
     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);
    1343    }
     44
    1445} // class SRUClientException
Note: See TracChangeset for help on using the changeset viewer.