01: /*
02: * Created on Feb 23, 2004
03: */
04: package net.sourceforge.orbroker;
05:
06: /**
07: * Generic exception from Broker.
08: * @author Nils Kilden-Pedersen
09: */
10: public class BrokerException extends RuntimeException {
11:
12: /**
13: * Constructor.
14: * @param message
15: */
16: public BrokerException(String message) {
17: super (message);
18: }
19:
20: /**
21: * Constructor.
22: * @param message
23: * @param cause
24: */
25: public BrokerException(String message, Throwable cause) {
26: super (message, cause);
27: }
28:
29: /**
30: * Constructor.
31: * @param cause
32: */
33: public BrokerException(Throwable cause) {
34: super(cause.getMessage(), cause);
35: }
36:
37: }
|