1 /*2 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.3 * Copyright (C) 2006 - 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.vectors;10 11 /**12 * Signals that an operation is performed upon vectors or matrices whose13 * dimensions disagree.14 * 15 * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>16 * @version 3.0, February 13, 200617 */18 public class DimensionException extends RuntimeException {19 20 /**21 * Constructs a dimension exception with no detail message.22 */23 public DimensionException() {24 super();25 }26 27 /**28 * Constructs a dimension exception with the specified message.29 * 30 * @param message the error message.31 */32 public DimensionException(String message) {33 super(message);34 }35 36 private static final long serialVersionUID = 1L;37 }