Source code: com/hartmath/util/MatrixDimensionException.java
1 package com.hartmath.util;
2
3 import com.hartmath.*;
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 s) {
22 super(s);
23 }
24 }
25
26