KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jscience > mathematics > matrices > MatrixException


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 is
7  * 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 dimensions
13  * disagree.</p>
14  *
15  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle </a>
16  * @version 1.0, October 24, 2004
17  */

18 public class MatrixException extends RuntimeException JavaDoc {
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 message
31      * the message.
32      */

33     public MatrixException(String JavaDoc message) {
34         super(message);
35     }
36
37     private static final long serialVersionUID = -5898534450456737296L;
38 }
Popular Tags