01: package org.objectweb.jonas.stests.appli;
02:
03: import java.rmi.RemoteException;
04:
05: /**
06: * Application exception: This exception indicates that an application
07: * error has occurred. These will typically be recoverable errors,
08: * that a user can respond to and retry the operation.
09: * <p>
10: * Users of this exception should set the message text accordingly.
11: * No additional error handling is providing, it only allows the user
12: * application to catch on this type of error and display the message text.
13: */
14:
15: public class CpwejbException extends RemoteException {
16:
17: /**
18: * Default constructor for the apllication exection.
19: */
20:
21: public CpwejbException() {
22: super ();
23: }
24:
25: /**
26: * Constructor for the apllication exection.
27: * <p>
28: * @param message Mesage text associated with the exception.
29: */
30:
31: public CpwejbException(String message) {
32: super (message);
33: }
34:
35: /**
36: * Constructor for the apllication exection.
37: * <p>
38: * @param message Mesage text associated with the exception.
39: * @param linkException Previous exception thrown. May contain additional information.
40: */
41:
42: public CpwejbException(String message, Throwable linkException) {
43: super(message, linkException);
44: }
45:
46: }
|