catch (JMSException e) {}
finally { if (conn1 != null) { conn1.close(); } }
   public void testDurableSubscriptionClientIDNotSet() throws Exception   {      //Client id must be set before creating a durable subscription      //This assumes we are not setting it in the connection factory which      //is currently true but may change in the future      Connection conn1 = cf.createConnection();      assertNull(conn1.getClientID());      Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE);      try      {         sess1.createDurableSubscriber(topic, "mySubscription");         fail();      }      catch (JMSException e)      {}   }