On 12/21/15 12:26 PM, Ole Ersoy wrote:
>> Should look like this, with some typos fixed:
>>
>> /**
>> ...
>> * @throws MatrixDimensionMismatchException if the dimensions of
>> * {@code destination} do not match those of {@code this}.
>> * @throws NumberIsTooSmallException if {@code endRow <
>> startRow} or
>> * {@code endColumn < startColumn}.
>> * @throws OutOfRangeException if the indices are not valid.
>> */
>> void copySubMatrix(int startRow, int endRow, int startColumn,
>> int endColumn,
>> T[][] destination)
>> throws MatrixDimensionMismatchException,
>> NumberIsTooSmallException,
>> OutOfRangeException;
>>
>> I will fix this.
> I think it's easier to understand if the "too small" wording is
> included. Something like:
>
> @throws MatrixDimensionMismatchException if the {@code
> destination} matrix
> dimensions are too small.
No, the MatrixDimensionMismatchException is thrown whenever the
dimensions don't match exactly, as it says above.
Phil
>
>
> Cheers,
> Ole
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]