KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jscience > physics > measures > MeasureException


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 is
7  * freely granted, provided that this notice is preserved.
8  */

9 package org.jscience.physics.measures;
10
11 /**
12  * Signals that an illegal measure operation has been performed.
13  *
14  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
15  * @version 3.0, March 2, 2006
16  */

17 public class MeasureException extends RuntimeException JavaDoc {
18
19     /**
20      * Constructs a measure exception with no detail message.
21      */

22     public MeasureException() {
23         super();
24     }
25
26     /**
27      * Constructs a measure exception with the specified message.
28      *
29      * @param message the error message.
30      */

31     public MeasureException(String JavaDoc message) {
32         super(message);
33     }
34
35     private static final long serialVersionUID = 1L;
36 }
Popular Tags