1 package de.desy.acop.video.analysis;
2
3 /**
4 *
5 * <code>MathException</code> is an execption thrown when
6 * a calculation was being made and it failed due to improper data, such
7 * as for instance solving linear systems of singular matrix etc.
8 *
9 * @author <a href="mailto:jaka.bobnar@cosylab.com">Jaka Bobnar</a>
10 *
11 */
12 public class MathException extends Exception {
13
14 private static final long serialVersionUID = 1L;
15
16 /**
17 * Constructs a new MathException.
18 *
19 */
20 public MathException() {
21 super();
22 }
23 /**
24 * Constructs a new MathException with the explanation of the
25 * exception provided as parameter.
26 *
27 * @param message short explanation of the exception
28 */
29 public MathException(String message) {
30 super(message);
31 }
32
33 /**
34 * Constructs a new MathException with the explanation of the
35 * exception and its couse provided as parameters.
36 *
37 * @param message short explanation of the exception
38 * @param cause the cause of the exception
39 */
40 public MathException(String message, Throwable cause) {
41 super(message, cause);
42 }
43 }