Class MigrateDbException

    • Constructor Detail

      • 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 Detail

      • getErrorCode

        public ErrorCode getErrorCode()