KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > mybatchfwk > BatchException


1 /*
2  * MyBatchFramework - Open-source batch framework.
3  * Copyright (C) 2006 Jérôme Bertèche cyberteche@users.sourceforge.net
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * Jérôme Bertèche
16  * Email: cyberteche@users.sourceforge.net
17  */

18 package net.sf.mybatchfwk;
19
20 /**
21  * Exception used by the BatchService API.<br>
22  * If this exception is throw inside the batch methods, the manageFatalError is called and the batch is stopped.
23  *
24  * @author Jérôme Bertèche (cyberteche@users.sourceforge.net)
25  */

26 public class BatchException extends Exception JavaDoc {
27     
28     private static final long serialVersionUID = 1197500678674069022L;
29
30     public BatchException() {
31         super();
32     }
33
34     public BatchException(String JavaDoc message, Throwable JavaDoc cause) {
35         super(message, cause);
36     }
37
38     public BatchException(String JavaDoc message) {
39         super(message);
40     }
41
42     public BatchException(Throwable JavaDoc cause) {
43         super(cause);
44     }
45 }
46
Popular Tags