Package liquibase.exception
Class UnexpectedLiquibaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- liquibase.exception.UnexpectedLiquibaseException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnknownChangeLogParameterException,UnknownConfigurationType
public class UnexpectedLiquibaseException extends RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexpectedLiquibaseException(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.UnexpectedLiquibaseException(Throwable cause)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, toString
-
-
-
-
Constructor Detail
-
UnexpectedLiquibaseException
public UnexpectedLiquibaseException(String message)
Constructs a newUnexpectedLiquibaseExceptionwith the given message- Parameters:
message- a message describing what should never have happened
-
UnexpectedLiquibaseException
public UnexpectedLiquibaseException(String message, Throwable cause)
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
public UnexpectedLiquibaseException(Throwable cause)
Constructs a newUnexpectedLiquibaseExceptionfrom aThrowableevent.- Parameters:
cause- TheThrowableevent that should never have happened
-
-