src/java/isac/bridge/MathEngine.java
changeset 1052 9cda7aee684f
parent 1048 5d999d98a5b9
child 1074 821012b70aaf
     1.1 --- a/src/java/isac/bridge/MathEngine.java	Mon Oct 27 08:55:30 2003 +0100
     1.2 +++ b/src/java/isac/bridge/MathEngine.java	Mon Oct 27 14:32:20 2003 +0100
     1.3 @@ -26,7 +26,7 @@
     1.4      try {
     1.5        bridgeRMI = (IBridgeRMI)Naming.lookup("//" + hostName + "/BridgeRMI");
     1.6        System.out.println(
     1.7 -        "CalcTree connected to Bridge: " + bridgeRMI.toString());
     1.8 +        "MathEngine Constr: connected to Bridge: " + bridgeRMI.toString());
     1.9        if (bridgeRMI == null)
    1.10          System.out.println("Bridge null!");
    1.11      } catch (Exception e) {
    1.12 @@ -48,13 +48,14 @@
    1.13  
    1.14    public CalcTree newCalculation(ModSpec modSpec) {
    1.15      CalcTree calcTree = null;
    1.16 -    try {
    1.17 +	System.out.println("MathEngine.newCalculation: start");
    1.18 +    try {      
    1.19        int id = bridgeRMI.calcTree(modSpec);
    1.20        calcTree = new CalcTree(this, id);
    1.21 -    } catch (RemoteException e1) {
    1.22 -      // TODO Auto-generated catch block
    1.23 -      e1.printStackTrace();
    1.24 +    } catch (RemoteException e) {      
    1.25 +      e.printStackTrace();
    1.26      }
    1.27 +	System.out.println("MathEngine.newCalculation: end");
    1.28      return calcTree;
    1.29    }
    1.30