Package liquibase.exception
Class PreconditionFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- liquibase.exception.PreconditionFailedException
-
- All Implemented Interfaces:
Serializable
public class PreconditionFailedException extends Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreconditionFailedException(String message, DatabaseChangeLog changeLog, Precondition precondition)
PreconditionFailedException(List<FailedPrecondition> failedPreconditions)
PreconditionFailedException(FailedPrecondition failedPrecondition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FailedPrecondition>
getFailedPreconditions()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PreconditionFailedException
public PreconditionFailedException(String message, DatabaseChangeLog changeLog, Precondition precondition)
-
PreconditionFailedException
public PreconditionFailedException(FailedPrecondition failedPrecondition)
-
PreconditionFailedException
public PreconditionFailedException(List<FailedPrecondition> failedPreconditions)
-
-
Method Detail
-
getFailedPreconditions
public List<FailedPrecondition> getFailedPreconditions()
-
-