KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > appli > CpwejbException


1 package org.objectweb.jonas.stests.appli;
2
3 import java.rmi.RemoteException JavaDoc;
4
5
6 /**
7  * Application exception: This exception indicates that an application
8  * error has occurred. These will typically be recoverable errors,
9  * that a user can respond to and retry the operation.
10  * <p>
11  * Users of this exception should set the message text accordingly.
12  * No additional error handling is providing, it only allows the user
13  * application to catch on this type of error and display the message text.
14  */

15
16 public class CpwejbException extends RemoteException JavaDoc {
17
18     /**
19      * Default constructor for the apllication exection.
20      */

21
22     public CpwejbException() {
23         super();
24     }
25
26
27     /**
28      * Constructor for the apllication exection.
29      * <p>
30      * @param message Mesage text associated with the exception.
31      */

32
33     public CpwejbException(String JavaDoc message) {
34         super(message);
35     }
36
37
38     /**
39      * Constructor for the apllication exection.
40      * <p>
41      * @param message Mesage text associated with the exception.
42      * @param linkException Previous exception thrown. May contain additional information.
43      */

44
45     public CpwejbException(String JavaDoc message, Throwable JavaDoc linkException) {
46         super(message, linkException);
47     }
48
49 }
50
Popular Tags