throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") + " name was not properly set in the service's ObjectName");
throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") + " " + "name was not properly set in the service's" + "ObjectName");
   public synchronized void startService() throws Exception   {      try      {                  started = true;            if (serviceName != null)         {            name = serviceName.getKeyProperty("name");         }            if (name == null || name.length() == 0)         {            throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") +                                             " name was not properly set in the service's ObjectName");         }            ServerPeer serverPeer = (ServerPeer)server.getAttribute(serverPeerObjectName, "Instance");         dm = serverPeer.getDestinationManager();         sm = serverPeer.getSecurityManager();         cm = serverPeer.getChannelMapperDelegate();            jndiName = dm.registerDestination(isQueue(), name, jndiName, securityConfig);         cm.deployCoreDestination(isQueue(), name, serverPeer.getMessageStoreDelegate(), serverPeer.getPersistenceManagerDelegate(),               fullSize, pageSize, downCacheSize);            log.info(this + " started");      }      catch (Exception e)      {         log.error("Failed to start service", e);         throw e;      }   }