1 package uk.ac.ebi.intenz.tools.sib.writer;
2
3 import uk.ac.ebi.interfaces.sptr.SPTRException;
4
5 /**
6 * This exception is thrown whenever an error occurs during the creation of the ENZYME flat file.
7 *
8 * @author Michael Darsow
9 * @version $Revision: 1.2 $ $Date: 2008/01/28 11:43:23 $
10 */
11 public class EnzymeFlatFileWriteException extends SPTRException {
12 /**
13 * Stores the (lower-level) exception this exception should wrap.
14 *
15 * @param e the exception to be wrapped.
16 */
17 public EnzymeFlatFileWriteException(Exception e) {
18 super(e);
19 }
20
21 /**
22 * Stores the exception message and the (lower-level) exception this exception should wrap.
23 *
24 * @param message the exception message.
25 * @param e the exception to be wrapped.
26 */
27 public EnzymeFlatFileWriteException(String message, Exception e) {
28 super(message, e);
29 }
30
31 /**
32 * Stores the exception message.
33 *
34 * @param message the exception message.
35 */
36 public EnzymeFlatFileWriteException(String message) {
37 super(message);
38 }
39 }