Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SetupException |
|
| 1.0;1 |
1 | package liquibase.exception; | |
2 | ||
3 | /** | |
4 | * If there is an error with setting up a Change this Exception will be thrown. | |
5 | * | |
6 | * A message must always be provided, if none is then the message from the cause exception will be used. | |
7 | * | |
8 | * @author <a href="mailto:csuml@yahoo.co.uk">Paul Keeble</a> | |
9 | * | |
10 | */ | |
11 | public class SetupException extends LiquibaseException { | |
12 | ||
13 | private static final long serialVersionUID = 1L; | |
14 | ||
15 | public SetupException(String message, Throwable cause) { | |
16 | 0 | super(message, cause); |
17 | 0 | } |
18 | ||
19 | public SetupException(String message) { | |
20 | 2 | super(message); |
21 | 2 | } |
22 | ||
23 | public SetupException(Throwable cause) { | |
24 | 0 | super(cause.getMessage(), cause); |
25 | 0 | } |
26 | ||
27 | } |