01: package liquibase.exception;
02:
03: /**
04: * If there is an error with setting up a Change this Exception
05: * will be thrown.
06: *
07: * A message must always be provided, if none is then the message
08: * from the cause exception will be used.
09: *
10: * @author <a href="mailto:csuml@yahoo.co.uk">Paul Keeble</a>
11: *
12: */
13: public class SetupException extends LiquibaseException {
14:
15: private static final long serialVersionUID = 1L;
16:
17: public SetupException(String message, Throwable cause) {
18: super (message, cause);
19: }
20:
21: public SetupException(String message) {
22: super (message);
23: }
24:
25: public SetupException(Throwable cause) {
26: super(cause.getMessage(), cause);
27: }
28:
29: }
|