KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > centraloffice > services > CentralOfficeException


1 package org.objectweb.rentacar.centraloffice.services;
2
3 import org.objectweb.rentacar.util.RentacarException;
4
5 public class CentralOfficeException extends RentacarException {
6
7     private static final long serialVersionUID = 1L;
8
9     public CentralOfficeException() {
10         super();
11     }
12
13     /**
14      * @param message the raw message explaining the cause of the error
15      * @param e the exception
16      */

17     public CentralOfficeException(String JavaDoc message, Throwable JavaDoc e) {
18         super(message, e);
19     }
20
21     /**
22      * @param e the exception
23      */

24     public CentralOfficeException(Throwable JavaDoc e) {
25         super(e);
26     }
27
28     /**
29      * @param message the raw message explaining the cause of the error
30      */

31     public CentralOfficeException(String JavaDoc message) {
32         super(message);
33     }
34
35     /**
36      * @param message the raw message explaining the cause of the error
37      * @param e the exception
38      * @param messageKey key matching a message to display for internationalization
39      */

40     public CentralOfficeException(String JavaDoc message, Throwable JavaDoc e, String JavaDoc messageKey) {
41         super(message, e);
42         this.messageKey = messageKey;
43     }
44
45     /**
46      * @param message the raw message explaining the cause of the error
47      * @param messageKey key matching a message to display for internationalization
48      */

49     public CentralOfficeException(String JavaDoc message, String JavaDoc messageKey) {
50         super(message);
51         this.messageKey = messageKey;
52     }
53
54 }
55
Popular Tags