/*******************************************************************************
 * Copyright C 2012, The Pistoia Alliance
 * 
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ******************************************************************************/
package org.helm.notation;

/**
 * This is the exception thrown for Invalid Structures
 * @author zhangtianhong
 */
public class CalculationException extends Exception {

    /**
     * Creates a new instance of <code>StructureException</code> without detail message.
     */
    public CalculationException() {
    }


    /**
     * Constructs an instance of <code>StructureException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public CalculationException(String msg) {
        super(msg);
    }
}

@@ -1,11 +1,15 @@
 /**
+%0A * 
 ********
@@ -122,17 +122,16 @@
 iance%0A *
- 
 %0A * Perm
@@ -199,18 +199,18 @@
 ning
-%0A *
  a copy
+%0A *
  of 
@@ -262,19 +262,16 @@
 les (the
-%0A *
  %22Softwa
@@ -283,16 +283,19 @@
  to deal
+%0A *
  in the 
@@ -333,19 +333,16 @@
 ncluding
-%0A *
  without
@@ -363,16 +363,19 @@
 e rights
+%0A *
  to use,
@@ -404,19 +404,16 @@
 publish,
-%0A *
  distrib
@@ -440,16 +440,19 @@
 /or sell
+%0A *
  copies 
@@ -474,19 +474,16 @@
 , and to
-%0A *
  permit 
@@ -513,16 +513,19 @@
 tware is
+%0A *
  furnish
@@ -576,17 +576,16 @@
 ions:%0A *
- 
 %0A * The 
@@ -642,19 +642,16 @@
 shall be
-%0A *
  include
@@ -654,16 +654,19 @@
 luded in
+%0A *
  all cop
@@ -712,17 +712,16 @@
 ware.%0A *
- 
 %0A * THE 
@@ -779,19 +779,16 @@
 NY KIND,
-%0A *
  EXPRESS
@@ -790,16 +790,19 @@
 PRESS OR
+%0A *
  IMPLIED
@@ -849,19 +849,16 @@
 NTIES OF
-%0A *
  MERCHAN
@@ -866,16 +866,19 @@
 ABILITY,
+%0A *
  FITNESS
@@ -923,19 +923,16 @@
 NGEMENT.
-%0A *
  IN NO E
@@ -945,16 +945,19 @@
 HALL THE
+%0A *
  AUTHORS
@@ -995,19 +995,16 @@
  FOR ANY
-%0A *
  CLAIM, 
@@ -1019,16 +1019,19 @@
 OR OTHER
+%0A *
  LIABILI
@@ -1067,19 +1067,16 @@
 ONTRACT,
-%0A *
  TORT OR
@@ -1100,16 +1100,19 @@
 NG FROM,
+%0A *
  OUT OF 
@@ -1136,19 +1136,16 @@
 WITH THE
-%0A *
  SOFTWAR
@@ -1177,24 +1177,27 @@
 LINGS IN THE
+%0A *
  SOFTWARE.%0A 
@@ -1273,16 +1273,18 @@
 ********
+%0A 
 */%0Apacka
@@ -1365,16 +1365,19 @@
 uctures%0A
+ *%0A
  * @auth
@@ -1535,24 +1535,31 @@
 thout detail
+%0A     *
  message.%0A  
@@ -1607,17 +1607,16 @@
 %0A    %7D%0A%0A
-%0A
     /**%0A
@@ -1688,16 +1688,23 @@
 with the
+%0A     *
  specifi
@@ -1718,24 +1718,31 @@
 il message.%0A
+     *%0A
      * @para

Test Formating with NetBeans