Class MigrateDbException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DbMigrate.MigrateDbMigrateException, MigrateDbSqlException, MigrateDbUpgradeRequiredException, MigrateDbValidateException

public class MigrateDbException extends RuntimeException
Exception thrown when MigrateDB encounters a problem.
See Also:
  • Constructor Details

    • MigrateDbException

      public MigrateDbException(String message, Throwable cause, ErrorCode errorCode)
      Creates a new MigrateDbException with this message, cause, and error code.
      Parameters:
      message - The exception message.
      cause - The exception cause.
      errorCode - The error code.
    • MigrateDbException

      public MigrateDbException(String message, ErrorCode errorCode)
      Creates a new MigrateDbException with this message and error code
      Parameters:
      message - The exception message.
      errorCode - The error code.
    • MigrateDbException

      public MigrateDbException(String message, Throwable cause)
      Creates a new MigrateDbException with this message and this cause.
      Parameters:
      message - The exception message.
      cause - The exception cause.
    • MigrateDbException

      public MigrateDbException(Throwable cause)
      Creates a new MigrateDbException with this cause. For use in subclasses that override getMessage().
      Parameters:
      cause - The exception cause.
    • MigrateDbException

      public MigrateDbException(String message)
      Creates a new MigrateDbException with this message.
      Parameters:
      message - The exception message.
    • MigrateDbException

      public MigrateDbException()
      Creates a new MigrateDbException. For use in subclasses that override getMessage().
  • Method Details

    • getErrorCode

      public ErrorCode getErrorCode()