public class CommandFailedException extends Exception
| Constructor and Description |
|---|
CommandFailedException(CommandResults results,
int exitCode,
String message,
boolean expected) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExitCode() |
CommandResults |
getResults() |
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CommandFailedException(CommandResults results, int exitCode, String message, boolean expected)
public CommandResults getResults()
public int getExitCode()
public boolean isExpected()
Copyright © 2023 Liquibase.org. All rights reserved.