On the solvability of a two-dimensional wave-body interaction problem