KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > persist > OddjobPersistException


1 package org.oddjob.persist;
2
3 import org.oddjob.OddjobException;
4
5 /**
6  * An exception to use when persistence fails.
7  *
8  * @author Rob Gordon
9  */

10
11 public class OddjobPersistException extends OddjobException {
12     private static final long serialVersionUID = 20051229;
13     
14     /**
15      * Constructor.
16      */

17     
18     public OddjobPersistException() {
19         super();
20     }
21
22     /**
23      * Constructor.
24      *
25      * @param arg0 An exception message.
26      */

27     
28     public OddjobPersistException(String JavaDoc arg0) {
29         super(arg0);
30     }
31
32     /**
33      * Constructor.
34      *
35      * @param arg0 An exception message.
36      * @param arg1 A nested exception.
37      */

38     
39     public OddjobPersistException(String JavaDoc arg0, Throwable JavaDoc arg1) {
40         super(arg0, arg1);
41     }
42
43     /**
44      * Constructor.
45      *
46      * @param arg0 A nested exception.
47      */

48     
49     public OddjobPersistException(Throwable JavaDoc arg0) {
50         super(arg0);
51     }
52
53 }
54
Popular Tags