1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 }