KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > binding > filetransferbc > FileTransferBCException


1 /**
2  * PETALS - PETALS Services Platform.
3  * Copyright (c) 2005 EBM Websourcing, http://www.ebmwebsourcing.com/
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  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * -------------------------------------------------------------------------
19  * Id : FileTransferBCException.java 154 ${date} rbarraza
20  * -------------------------------------------------------------------------
21  */

22
23 package org.objectweb.petals.binding.filetransferbc;
24
25 /**
26  * A special exception for the file transfer binging component.
27  *
28  * @version $Rev: 250 $Date: {date}
29  * @since Petals 1.0
30  * @author alouis, Rocio BARRAZA - eBMWebsourcing
31  *
32  */

33 public class FileTransferBCException extends Exception JavaDoc {
34
35     private static final long serialVersionUID = 1L;
36
37     protected String JavaDoc messageKey;
38
39     /**
40      * Creates a new instance of {@link FileTransferBCException}
41      *
42      */

43     public FileTransferBCException() {
44         super();
45     }
46
47     /**
48      * Creates a new instance of {@link FileTransferBCException}
49      *
50      * @param message
51      * the raw message explaining the cause of the error
52      */

53     public FileTransferBCException(String JavaDoc message) {
54         super(message);
55     }
56
57     /**
58      * Creates a new instance of {@link FileTransferBCException}
59      *
60      * @param message
61      * the raw message explaining the cause of the error
62      * @param messageKey
63      * key matching a message to display for internationalization
64      */

65     public FileTransferBCException(String JavaDoc message, String JavaDoc messageKey) {
66         super(message);
67         this.messageKey = messageKey;
68     }
69
70     /**
71      * Creates a new instance of {@link FileTransferBCException}
72      *
73      * @param message
74      * the raw message explaining the cause of the error
75      * @param e
76      * the exception
77      */

78     public FileTransferBCException(String JavaDoc message, Throwable JavaDoc e) {
79         super(message, e);
80     }
81
82     /**
83      * Creates a new instance of {@link FileTransferBCException}
84      *
85      * @param message
86      * the raw message explaining the cause of the error
87      * @param e
88      * the exception
89      * @param messageKey
90      * key matching a message to display for internationalization
91      */

92     public FileTransferBCException(String JavaDoc message, Throwable JavaDoc e,
93         String JavaDoc messageKey) {
94         super(message, e);
95         this.messageKey = messageKey;
96     }
97
98     /**
99      * Creates a new instance of {@link FileTransferBCException}
100      *
101      * @param e
102      * the exception
103      */

104     public FileTransferBCException(Throwable JavaDoc e) {
105         super(e);
106     }
107
108 }
109
Popular Tags