LifecycleException
148149150151152153154155156157158
{ throw le; } catch (Exception e) { throw new LifecycleException(e, object); } finally { setExecutingPhase(null); }
381382383384385386387388389390391
{ initWorkManagers(); } catch (MuleException e) { throw new LifecycleException(e, this); } doInitialise(); } });
10181019102010211022102310241025102610271028
protected MessageDispatcher borrowDispatcher(OutboundEndpoint endpoint) throws MuleException { if (!isStarted()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (endpoint == null) {
11271128112911301131113211331134113511361137
private MessageRequester getRequester(InboundEndpoint endpoint) throws MuleException { if (!isStarted()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (endpoint == null) {
15321533153415351536153715381539154015411542
@Override public void connect() throws Exception { if (lifecycleManager.getState().isDisposed()) { throw new LifecycleException(CoreMessages.lifecycleErrorCannotUseConnector(getName(), lifecycleManager.getCurrentPhase()), this); } if (isConnected()) { return;
189190191192193194195196
consumer.setMessageListener(this); } } catch (JMSException e) { throw new LifecycleException(e, this); } }
207208209210211212213214
consumer.setMessageListener(null); } } catch (JMSException e) { throw new LifecycleException(e, this); } }
369370371372373374375376377378379
SedaStageInterceptingMessageProcessor.this, WorkManager.INDEFINITE, null, new AsyncWorkListener(next)); } catch (WorkException e) { throw new LifecycleException(CoreMessages.failedToStart(getStageDescription()), e, this); } } }); }
254255256257258259260261262
{ createConsumer(); } catch (Exception e) { throw new LifecycleException(e, this); } connected = true; }
310311312313314315316317
consumer.setMessageListener(this); started = true; } catch (JMSException e) { throw new LifecycleException(e, this); } }