Hi Gilles, I'm OK to define a new exception. From your PS, I understand that I should wait until what I've already submitted (MATH-581-06.zip) has been committed until I submit a patch containing the new exception. Is that right? I don't think it's necessary to open a new JIRA ticket for this, do you?
Finally, a design issue. I would like the NonSquareLinearOperatorException to have an accessor to the actual LinearOperator which was the cause of this exception. It seems to me that NonSquareMatrixException does not offer this opportunity, so having the latter inherit from the former might be difficult. Should I give up this accessor, then? I think it would be a pity. As an example: the constructor of a preconditioned iterative solver requires TWO LinearOperators, both of which must be square. If an exception is raised, it would be nice (although not absolutely essential, since I can always test a posteriori the size of each operator) to know which operator was faulty. Thanks for your advice! Sebastien --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org