KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > maths > matrices > MatrixDimensionException


1 package JSci.maths.matrices;
2
3 import JSci.maths.DimensionException;
4
5 /**
6 * This exception occurs when there is a problem involving a matrix's dimensions.
7 * For example, accessing an element outside a matrix's dimensions or performing
8 * an operation with matrices that have incompatible dimensions.
9 * @version 1.1
10 * @author Mark Hale
11 */

12 public final class MatrixDimensionException extends DimensionException {
13         /**
14         * Constructs a MatrixDimensionException with no detail message.
15         */

16         public MatrixDimensionException() {
17         }
18         /**
19         * Constructs a MatrixDimensionException with the specified detail message.
20         */

21         public MatrixDimensionException(String JavaDoc s) {
22                 super(s);
23         }
24 }
25
26
Popular Tags