01: package JSci.maths.matrices;
02:
03: import JSci.maths.DimensionException;
04:
05: /**
06: * This exception occurs when there is a problem involving a matrix's dimensions.
07: * For example, accessing an element outside a matrix's dimensions or performing
08: * an operation with matrices that have incompatible dimensions.
09: * @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: /**
20: * Constructs a MatrixDimensionException with the specified detail message.
21: */
22: public MatrixDimensionException(String s) {
23: super(s);
24: }
25: }
|