Package liquibase.exception
Class PreconditionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
liquibase.exception.PreconditionFailedException
- All Implemented Interfaces:
Serializable
Thrown when a precondition failed. This is NOT the same as a PreconditionErrorException: A failure just means that
the specified condition evaluated to "does not apply".
- See Also:
-
Constructor Summary
ConstructorDescriptionPreconditionFailedException
(String message, DatabaseChangeLog changeLog, Precondition precondition) PreconditionFailedException
(String message, DatabaseChangeLog changeLog, Precondition precondition, Throwable cause) PreconditionFailedException
(List<FailedPrecondition> failedPreconditions) PreconditionFailedException
(FailedPrecondition failedPrecondition) Deprecated.PreconditionFailedException
(FailedPrecondition failedPrecondition, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreconditionFailedException
public PreconditionFailedException(String message, DatabaseChangeLog changeLog, Precondition precondition) -
PreconditionFailedException
public PreconditionFailedException(String message, DatabaseChangeLog changeLog, Precondition precondition, Throwable cause) -
PreconditionFailedException
Deprecated. -
PreconditionFailedException
-
PreconditionFailedException
-
-
Method Details
-
getFailedPreconditions
-
PreconditionFailedException(FailedPrecondition, Throwable)
instead