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
ConstructorDescriptionUnexpectedLiquibaseException
(String message) Constructs a newUnexpectedLiquibaseException
with the given messageUnexpectedLiquibaseException
(String message, Throwable cause) Constructs a newUnexpectedLiquibaseException
with the given message and adds information about theThrowable
cause of the problem.Constructs a newUnexpectedLiquibaseException
from aThrowable
event.UnexpectedLiquibaseException
(Throwable cause, int exitCode) Constructs a newUnexpectedLiquibaseException
from aThrowable
event. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface liquibase.exception.ExitCodeException
getExitCode
-
Constructor Details
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseException
with the given message- Parameters:
message
- a message describing what should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseException
with the given message and adds information about theThrowable
cause of the problem.- Parameters:
message
- a message describing what should never have happenedcause
- TheThrowable
event that should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseException
from aThrowable
event.- Parameters:
cause
- TheThrowable
event that should never have happened
-
UnexpectedLiquibaseException
Constructs a newUnexpectedLiquibaseException
from aThrowable
event.- Parameters:
cause
- TheThrowable
event that should never have happened
-