Throw exception if padded height is negative.