LifecycleException
144145146147148149150151152153154
public void start() throws MuleException { if (listener == null) { throw new LifecycleException(CoreMessages.objectIsNull("listener"), this); } synchronized (sources) { starting.set(true);
93949596979899100
{ workManager.scheduleWork(this, WorkManager.INDEFINITE, null, workListener); } catch (WorkException e) { throw new LifecycleException(e, this); } }
292293294295296297298299
{ throw ce; } catch (Exception e) { throw new LifecycleException(CoreMessages.failedToStartInboundEndpoint(this), e, this); } }
304305306307308309310311
{ getConnector().unregisterListener(this, flowConstruct); } catch (Exception e) { throw new LifecycleException(CoreMessages.failedToStartInboundEndpoint(this), e, this); } }
397398399400401402403
} @Override protected MuleEvent handleUnaccepted(MuleEvent event) throws LifecycleException { throw new LifecycleException(CoreMessages.isStopped(getName()), event.getMessage()); }
33343536373839
} @Override protected MuleEvent handleUnaccepted(MuleEvent event) throws LifecycleException { throw new LifecycleException(CoreMessages.isStopped(getStartableName(startable)), event.getMessage()); }
113114115116117118119120
134135136137138139140141
((Stoppable)polledMp).stop(); } } catch (Exception e) { throw new LifecycleException(CoreMessages.failedToStopInboundEndpoint(this), e, this); } }
156157158159160161162163164165166
{ throw e; } catch (MuleException e) { throw new LifecycleException(CoreMessages.failedToInvokeLifecycle(phase, object), e); } finally { setExecutingPhase(null); }
7374757677787980818283
{ throw e; } catch (MuleException e) { throw new LifecycleException(e, this); } finally { setExecutingPhase(null); }