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 a system attempts an operation on a matrix, and
21 * that matrix does not satisfy the preconditions for the
22 * aforementioned operation.
23 * @version $Revision: 348519 $ $Date: 2005-11-23 12:12:18 -0700 (Wed, 23 Nov 2005) $
24 */
25 public class InvalidMatrixException extends RuntimeException {
26
27 /** Serializable version identifier */
28 private static final long serialVersionUID = 5318837237354354107L;
29
30 /**
31 * Default constructor.
32 */
33 public InvalidMatrixException() {
34 this(null);
35 }
36
37 /**
38 * Construct an exception with the given message.
39 * @param message descriptive error message.
40 */
41 public InvalidMatrixException(String message) {
42 super(message);
43 }
44
45 }