| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final boolean | |
| private final CommandResults | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CommandResults | |
| public boolean | isExpected()
In certain circumstances, this exception is thrown solely to set the exit code of a command's execution, in which case, the exception is expected. |
| exitCode | back to summary |
|---|---|
| private final int exitCode | |
| expected | back to summary |
|---|---|
| private final boolean expected | |
| results | back to summary |
|---|---|
| private final CommandResults results | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CommandFailedException | back to summary |
|---|---|
| public CommandFailedException(CommandResults results, int exitCode, String message, boolean expected) | |
| getExitCode | back to summary |
|---|---|
| public int getExitCode() | |
| getResults | back to summary |
|---|---|
| public CommandResults getResults() | |
| isExpected | back to summary |
|---|---|
| public boolean isExpected() In certain circumstances, this exception is thrown solely to set the exit code of a command's execution, in which case, the exception is expected. In these cases, Liquibase does not print the stacktrace of the exception to the logs, and isExpected returns true. | |