1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.math.linear;
18
19 /**
20 * Thrown when an operation addresses a matrix coordinate (row,col)
21 * which is outside of the dimensions of a matrix.
22 * @version $Revision: 348519 $ $Date: 2005-11-23 12:12:18 -0700 (Wed, 23 Nov 2005) $
23 */
24 public class MatrixIndexException extends RuntimeException {
25
26 /** Serializable version identifier */
27 private static final long serialVersionUID = -1341109412864309526L;
28
29 /**
30 * Default constructor.
31 */
32 public MatrixIndexException() {
33 this(null);
34 }
35
36 /**
37 * Construct an exception with the given message and root cause.
38 * @param message descriptive error message.
39 */
40 public MatrixIndexException(String message) {
41 super(message);
42 }
43
44 }