1 /*2 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.3 * Copyright (C) 2005 - JScience (http://jscience.org/)4 * All rights reserved.5 * 6 * Permission to use, copy, modify, and distribute this software is7 * freely granted, provided that this notice is preserved.8 */9 package org.jscience.mathematics.matrices;10 11 /**12 * <p> Thrown when an operation is performed upon two matrices whose dimensions13 * disagree.</p>14 * 15 * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle </a>16 * @version 1.0, October 24, 200417 */18 public class MatrixException extends RuntimeException {19 20 /**21 * Constructs a {@link MatrixException}with no detail message.22 */23 public MatrixException() {24 super();25 }26 27 /**28 * Constructs a {@link MatrixException}with the specified message.29 * 30 * @param message31 * the message.32 */33 public MatrixException(String message) {34 super(message);35 }36 37 private static final long serialVersionUID = -5898534450456737296L;38 }