Next version of JABA
[jabaws.git] / datamodel / compbio / metadata / JobSubmissionException.java
1 /* Copyright (c) 2009 Peter Troshin\r
2  *  \r
3  *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 1.0\r
4  * \r
5  *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
6  *  Apache License version 2 as published by the Apache Software Foundation\r
7  * \r
8  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\r
9  *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache \r
10  *  License for more details.\r
11  * \r
12  *  A copy of the license is in apache_license.txt. It is also available here:\r
13  * @see: http://www.apache.org/licenses/LICENSE-2.0.txt\r
14  * \r
15  * Any republication or derived work distributed in source code form\r
16  * must include this copyright and license notice.\r
17  */\r
18 \r
19 package compbio.metadata;\r
20 \r
21 import javax.xml.bind.annotation.XmlAccessType;\r
22 import javax.xml.bind.annotation.XmlAccessorType;\r
23 \r
24 /**\r
25  * Exception for generic problems with JobSubmission it is often thrown as a\r
26  * wrapper for the lower level exceptions like IOException or DrmaaException. If\r
27  * this exception is thrown the task has not been calculated\r
28  * \r
29  * @author pvtroshin\r
30  * \r
31  *         Date December 2009\r
32  */\r
33 @XmlAccessorType(XmlAccessType.FIELD)\r
34 public class JobSubmissionException extends Exception {\r
35 \r
36     private static final long serialVersionUID = 607986894357895572L;\r
37 \r
38     public JobSubmissionException(String message) {\r
39         super(message);\r
40     }\r
41 \r
42     public JobSubmissionException(Throwable cause) {\r
43         super(cause);\r
44     }\r
45 \r
46     public JobSubmissionException(String message, Throwable cause) {\r
47         super(message, cause);\r
48     }\r
49 \r
50 }\r