Package liquibase.exception
Class UnexpectedLiquibaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
liquibase.exception.UnexpectedLiquibaseException
- All Implemented Interfaces:
Serializable,ExitCodeException
- Direct Known Subclasses:
UnknownChangeLogParameterException
Marks an internal error (runtime exception) that prevents this software from further processing. Should
only be thrown in "impossible" cases where the software suspects a bug in itself.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedLiquibaseException(String message) Constructs a newUnexpectedLiquibaseExceptionwith the given messageUnexpectedLiquibaseException(String message, Throwable cause) Constructs a newUnexpectedLiquibaseExceptionwith the given message and adds information about theThrowablecause of the problem.Constructs a newUnexpectedLiquibaseExceptionfrom aThrowableevent.UnexpectedLiquibaseException(Throwable cause, int exitCode) Constructs a newUnexpectedLiquibaseExceptionfrom aThrowableevent. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface liquibase.exception.ExitCodeException
getExitCode
-
Constructor Details
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseExceptionwith the given message- Parameters:
message- a message describing what should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseExceptionwith the given message and adds information about theThrowablecause of the problem.- Parameters:
message- a message describing what should never have happenedcause- TheThrowableevent that should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseExceptionfrom aThrowableevent.- Parameters:
cause- TheThrowableevent that should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseExceptionfrom aThrowableevent.- Parameters:
cause- TheThrowableevent that should never have happened
-