View Javadoc

1   /*
2    *                Doelan development code
3    *
4    * This code may be freely distributed and modified under the
5    * terms of the GNU General Public Licence.  This should
6    * be distributed with the code. If you do not have a copy,
7    * see:
8    *
9    *      http://www.gnu.org/copyleft/gpl.txt
10   *
11   * Copyright (c) 2004-2005 ENS Microarray Platform
12   * Copyright for this code is held jointly by the individual
13   * authors.  These should be listed in @author doc comments.
14   *
15   * For more information on the Doelan project and its aims,
16   * or to join the Doelan mailing list, visit the home page
17   * at:
18   *
19   *      http://www.transcriptome.ens.fr/doelan
20   */
21  
22  package fr.ens.transcriptome.doelan;
23  
24  /***
25   * A nestable quality exception. This class came from from Biojava code.
26   * @author Laurent Jourdren
27   * @author Matthew Pocock
28   */
29  public class DoelanException extends Exception {
30  
31    /***
32     * Create a new QualityException with a message.
33     * @param message the message
34     */
35    public DoelanException(final String message) {
36      super(message);
37    }
38  
39    /***
40     * Create a new QualityException with a cause.
41     * @param ex the Throwable that caused this QualityException
42     */
43    public DoelanException(final Throwable ex) {
44      super(ex);
45    }
46  
47    /***
48     * Create a new QualityException with a cause and a message.
49     * @param ex the Throwable that caused this QualityException
50     * @param message the message
51     * @deprecated use new QualityException(message, ex) instead
52     */
53    public DoelanException(final Throwable ex, final String message) {
54      this(message, ex);
55    }
56  
57    /***
58     * Create a new QualityException with a cause and a message.
59     * @param message the message
60     * @param ex the Throwable that caused this QualityException
61     */
62    public DoelanException(final String message, final Throwable ex) {
63      super(message, ex);
64    }
65  
66    /***
67     * Create a new QualityException.
68     */
69    public DoelanException() {
70      super();
71    }
72  }