later version of client-side WSDL2Java generated simple Alignment
[jalview.git] / src / ext / jemboss / soap / PrivateRequest.java
index 582949d..892db3a 100755 (executable)
@@ -174,8 +174,7 @@ public class PrivateRequest
            if(msg.startsWith("Failed Authorisation"))
              throw new JembossSoapException("Authentication Failed");
            else if(msg.startsWith("Error"))
-             JOptionPane.showMessageDialog(null, msg, "alert",
-                                   JOptionPane.ERROR_MESSAGE);
+             throw new JembossSoapException(msg);
          }
          proganswer.put(s,vans.get(j+1));
        }
@@ -183,8 +182,10 @@ public class PrivateRequest
      catch (Exception e)
      {
         System.out.println("Exception in PrivateRequest "+
-                            e.getMessage ());
-        throw new JembossSoapException("  Fault Code   = " );
+                            e.getMessage ()
+                           );
+        e.printStackTrace();
+        throw new JembossSoapException("  Fault Code   = " + e);
      }
 
    }