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));
}
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);
}
}