ioe.printStackTrace();
if(log.isErrorEnabled()) { log.error("Exception", ioe); }
    public void actionPerformed(ActionEvent ae) {      String urlString = getURLString(GLS_REPLY_SERVLET,                                       CONNECT_COMMAND, null);      URLConnection urlConnection = null;      try {	URL url = new URL(urlString);        urlConnection = url.openConnection();      } catch (java.net.MalformedURLException me) {	JOptionPane.showMessageDialog(outerPanel,                                       "Invalid Host, Port, Agent or Servlet.",                                      "Bad URL",                                       JOptionPane.ERROR_MESSAGE);        me.printStackTrace();	return;      } catch (java.io.IOException ioe) {	JOptionPane.showMessageDialog(outerPanel,                                       "Could not connect to Host, Port, or Agent.\nThe Servlet may not be running there.",                                      "No Servlet",                                       JOptionPane.ERROR_MESSAGE);	ioe.printStackTrace();	return;      }      // read from open connection      if (urlConnection != null)         (new LineReader(urlConnection)).start();    }