docs: public void createDestination(Destination dest, Reliability defaultReliability) 
      throws JMSException
    {
  
      try
      {
      
        if (tcInt.isEntryEnabled())
          SibTr.entry(tcInt, "createDestination(Destination)");    
           
        com.ibm.wsspi.sib.core.DestinationType destType = null;
        String name = null;
    
        try
        {
    
          // Work out which type of Destination we want to create.
          if (dest instanceof JmsQueue)
          {
            destType = com.ibm.wsspi.sib.core.DestinationType.QUEUE;
            name = ((JmsQueue) dest).getQueueName();
    
          } else if (dest instanceof JmsTopic)
          {
            destType = com.ibm.wsspi.sib.core.DestinationType.TOPICSPACE;
            name = ((JmsTopic) dest).getTopicSpace();
          } else
          {
            destType = null;
            name = null;
          }
          
          if (tcInt.isDebugEnabled())
          {
            SibTr.debug(tcInt, "    name: "+name);
            SibTr.debug(tcInt, "destType: "+destType);
          }
            
    
          if (destType != null)
          {
            // Defer to the other method.
            createDestination(name, destType, defaultReliability);
          } else
          {
            throw new JMSException("Could not create Destination - destType was null");
          }
    
        } catch (JMSException e)
        {
          // No FFDC code needed
          if (tcInt.isDebugEnabled())
            SibTr.debug(tcInt, "JMSException during createDestination", e);
            
          throw e;
    
        } catch (Exception f)
        {
          // No FFDC code needed
          if (tcInt.isDebugEnabled())
            SibTr.debug(tcInt, "Exception during createDestionation", f);
            
          JMSException jmse = new JMSException("Exception from createDestination");
          jmse.setLinkedException(f);
          jmse.initCause(f);
          throw jmse;
    
        } //try
  
      } finally
      {    
        if (tcInt.isEntryEnabled())
           SibTr.exit(tcInt, "createDestination(Destination)");
      }//
  
    }