Index: lutinmatrix/src/java/org/codelutin/math/matrix/BasicMatrix.java diff -u lutinmatrix/src/java/org/codelutin/math/matrix/BasicMatrix.java:1.6 lutinmatrix/src/java/org/codelutin/math/matrix/BasicMatrix.java:1.7 --- lutinmatrix/src/java/org/codelutin/math/matrix/BasicMatrix.java:1.6 Fri Aug 11 09:29:48 2006 +++ lutinmatrix/src/java/org/codelutin/math/matrix/BasicMatrix.java Tue Nov 6 13:39:23 2007 @@ -23,10 +23,10 @@ * Created: 27 oct. 2004 * * @author Benjamin Poussin - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ * - * Mise a jour: $Date: 2006-08-11 09:29:48 $ - * par : $Author: bpoussin $ + * Mise a jour: $Date: 2007-11-06 13:39:23 $ + * par : $Author: ruchaud $ */ package org.codelutin.math.matrix; @@ -197,7 +197,7 @@ protected void checkDim(int [] dim){ for(int i=0; i= getNbDim()){ - throw new IndexOutOfBoundsException(I18n._("La dimension demandée n'est pas correct: 0 <= " + dim + " < " + getNbDim())); + throw new IndexOutOfBoundsException(I18n._("lutinmatrix.invalid.size", dim, getNbDim())); } } @@ -226,7 +226,7 @@ result = (0 <= pos[i]) && (pos[i] < dim[i]); } if(! result){ - throw new NoSuchElementException("L'élément demandé " + Arrays.toString(pos) + " n'existe pas dans la matrice " + Arrays.toString(dim)); + throw new NoSuchElementException(I18n._("lutinmatrix.invalid.element", Arrays.toString(pos), Arrays.toString(dim))); } }