@Override protected void doInitialise() throws InitialisationException { if (strategy == null) { throw new InitialisationException(CoreMessages.encryptionStrategyNotSet(), this); } }
@Override protected void doInitialise() throws InitialisationException { try { createXmppConnection(); } catch (XMPPException ex) { throw new InitialisationException(ex, this); } }
public void initialise() throws InitialisationException { if (inboundEndpoint == null) { throw new InitialisationException(CoreMessages.objectIsNull("inboundEndpoint"), this); } if (wireFormat == null) { throw new InitialisationException(CoreMessages.objectIsNull("wireFormat"), this); } }
protected void doInitialise() throws InitialisationException { if (address == null && !addressFromMessage) { throw new InitialisationException(CoreMessages.objectIsNull("webServiceUrl"), this); } }
protected void doInitialise() throws InitialisationException { if (address == null && !addressFromMessage) { throw new InitialisationException(CoreMessages.objectIsNull("webServiceUrl"), this); } }
public void initialise() throws InitialisationException { try { bpms.deployProcess(resource); } catch (Exception e) { throw new InitialisationException(e, this); } }
public void initialise() throws InitialisationException { if ((objectClassName == null) || (objectClass == null)) { throw new InitialisationException( MessageFactory.createStaticMessage("Object factory has not been initialized."), this); } disposed = false; }
protected void validateSslConfig() throws InitialisationException { try { tls.initialise(false, TlsConfiguration.JSSE_NAMESPACE); } catch (CreateException e) { throw new InitialisationException(e, this); } }
public void initialise() throws InitialisationException { try { bpms.deployProcess(resource); } catch (Exception e) { throw new InitialisationException(e, this); } }
private void verifyConnectionsParameters() throws InitialisationException { if (maxConnections < UNLIMITED_CONNECTIONS || maxConnections == 0) { throw new InitialisationException(CoreMessages.createStaticMessage("The maxConnections parameter only allows positive values or -1 for unlimited concurrent connections."), this); } if (!usePersistentConnections) { connectionIdleTimeout = 0; } }
@Override public void initialise() throws InitialisationException { if (bus == null) { throw new InitialisationException( MessageFactory.createStaticMessage("No CXF bus instance, this component has not been initialized properly."), this); } }
private void globalConfigNotHonored(String element, String[] elementArray) throws InitialisationException { throw new InitialisationException(MessageFactory.createStaticMessage(String.format("Some selected %1$s are invalid. Valid %1$s according to your TLS configuration file are: %2$s", element, Joiner.on(", ").join(elementArray))), this); }
public void initialise() throws InitialisationException { if (dataFile != null) { try { data = IOUtils.getResourceAsString(dataFile, getClass()); } catch (IOException e) { throw new InitialisationException(e, this); } } }
@Override public void initialise() throws InitialisationException { super.initialise(); if (routes == null || routes.size() == 0) { throw new InitialisationException(CoreMessages.objectIsNull("targets"), this); } }
public void initialise() throws InitialisationException { if (salt == null) { salt = new byte[]{(byte) 0xc7, (byte) 0x73, (byte) 0x21, (byte) 0x8c, (byte) 0x7e, (byte) 0xc8, (byte) 0xee, (byte) 0x99}; logger.debug("Salt is not set. Using default salt"); } if (password == null) { throw new InitialisationException(CoreMessages.objectIsNull("Password"), this); } super.initialise(); }
@Override protected void doInitialise() throws InitialisationException { if (objectFactory == null) { throw new InitialisationException(CoreMessages.objectIsNull("object factory"), this); } objectFactory.initialise(); }
private void initSessionHandler() throws InitialisationException { try { sessionHandler = muleContext.getInjector().inject(sessionHandler); } catch (MuleException e) { throw new InitialisationException(e, this); } }
public void initialise() throws InitialisationException { if (listener == null) { throw new InitialisationException(CoreMessages.objectIsNull("listener"), this); } synchronized (sources) { for (MessageSource source : sources) { initializeComposedMessageSource(source); } } initialised.set(true); }
@Override public void initialise() throws InitialisationException { if (eventComparator == null) { throw new InitialisationException(CoreMessages.objectIsNull("eventComparator"), this); } super.initialise(); }
public Object borrowObject() throws Exception { if (pool != null) { return pool.borrowObject(); } else { throw new InitialisationException( MessageFactory.createStaticMessage("Object pool has not been initialized."), this); } }