Class UnexpectedLiquibaseException

All Implemented Interfaces:
Serializable, ExitCodeException
Direct Known Subclasses:
UnknownChangeLogParameterException

public class UnexpectedLiquibaseException extends RuntimeException implements ExitCodeException
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 Details

    • UnexpectedLiquibaseException

      public UnexpectedLiquibaseException(String message)
      Constructs a new UnexpectedLiquibaseException with the given message
      Parameters:
      message - a message describing what should never have happened
    • UnexpectedLiquibaseException

      public UnexpectedLiquibaseException(String message, Throwable cause)
      Constructs a new UnexpectedLiquibaseException with the given message and adds information about the Throwable cause of the problem.
      Parameters:
      message - a message describing what should never have happened
      cause - The Throwable event that should never have happened
    • UnexpectedLiquibaseException

      public UnexpectedLiquibaseException(Throwable cause)
      Constructs a new UnexpectedLiquibaseException from a Throwable event.
      Parameters:
      cause - The Throwable event that should never have happened
    • UnexpectedLiquibaseException

      public UnexpectedLiquibaseException(Throwable cause, int exitCode)
      Constructs a new UnexpectedLiquibaseException from a Throwable event.
      Parameters:
      cause - The Throwable event that should never have happened