LifecycleException
101102103104105106107108109110111
flowConstruct.getName())); } if (!lifecycleManager.getState().isStarted() || lifecycleManager.getState().isStopping()) { throw new LifecycleException(CoreMessages.isStopped(flowConstruct.getName()), this); } // Invoke component implementation and gather statistics try {
407408409410411412413414415416417
SedaStageInterceptingMessageProcessor.this, WorkManager.INDEFINITE, null, new AsyncWorkListener(next)); } catch (WorkException e) { throw new LifecycleException(CoreMessages.failedToStart(getStageDescription()), e, this); } } }); }
212213214215216217218219220
{ createConsumer(); } catch (Exception e) { throw new LifecycleException(e, this); } connected = true; }
249250251252253254255256
consumer.setMessageListener(this); started = true; } catch (JMSException e) { throw new LifecycleException(e, this); } }
278279280281282283284285286287
logger.warn("Unable to cleanly stop subreceiver: " + e.getMessage()); started = false; } else { throw new LifecycleException(e, this); } } } }
135136137138139140141142143144145
public void start() throws MuleException { if (listener == null) { throw new LifecycleException(CoreMessages.objectIsNull("listener"), this); } synchronized (sources) { starting.set(true);
378379380381382383384385386387388
{ initWorkManagers(); } catch (MuleException e) { throw new LifecycleException(e, this); } } }); } catch (InitialisationException e)
10001001100210031004100510061007100810091010
private MessageDispatcher getDispatcher(OutboundEndpoint endpoint) throws MuleException { if (!isStarted()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (endpoint == null) {
11091110111111121113111411151116111711181119
private MessageRequester getRequester(InboundEndpoint endpoint) throws MuleException { if (!isStarted()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (endpoint == null) {
15011502150315041505150615071508150915101511
public void connect() throws Exception { if (lifecycleManager.getState().isDisposed()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (isConnected()) { return;