01: /*
02: * Created on Jul 9, 2004
03: */
04: package net.sourceforge.orbroker;
05:
06: /**
07: * Exception for a violated database constraint.
08: * @author Nils Kilden-Pedersen
09: */
10: public final class ConstraintException extends BrokerException {
11:
12: /**
13: * Constructor.
14: * @param cause
15: */
16: public ConstraintException(Throwable cause) {
17: super (cause);
18: }
19:
20: /**
21: * Constructor.
22: * @param message
23: * @param cause
24: */
25: public ConstraintException(String message, Throwable cause) {
26: super(message, cause);
27: }
28: }
|