Examples of ConnectionException

@author Chris Hennigfeld
  • com.brewtab.irc.ConnectionException
  • com.cloud.exception.ConnectionException
    ConnectionException is thrown by Listeners while processing the startup command. There are two uses for this exception and they are distinguished 1. If the flag is set to true, there is an unexpected error during the processing. Upon receiving this exception, the AgentManager will immediately place the agent under alert. When the function to enable to disable the agent, the agent is disabled. should be disconnected and reconnected to "refresh" all resource information. This is useful when the Listener needed to perform setup on the agent and decided it is best to flush connection and reconnect. situation where it keeps throwing ConnectionException.
  • com.couchbase.client.vbucket.ConnectionException
    .
  • com.google.dataconnector.util.ConnectionException
    Exception for all connection related errors. @author rayc@google.com (Ray Colline)
  • com.jdroid.java.exception.ConnectionException
    Exception related with connectivity errors.
  • com.lixia.rdp.ConnectionException
  • com.netflix.astyanax.connectionpool.exceptions.ConnectionException
    Connection exception caused by an error in the connection pool or a transport error related to the connection itself. Application errors are derived from OperationException. @author elandau
  • com.sforce.ws.ConnectionException
  • com.tinkerpop.gremlin.driver.exception.ConnectionException
    en.genoprime.com)
  • com.volantis.vdp.sps.connector.exception.ConnectionException
    User: rstroz01 Date: 2006-01-06 Time: 11:09:12
  • com.youtube.vitess.vtgate.Exceptions.ConnectionException
  • de.fu_berlin.inf.dpp.exceptions.ConnectionException
    Connection is lost while an operation related to streaming was tried to perform.
  • de.mhus.lib.cao.ConnectionException
  • de.zib.scalaris.ConnectionException
    Exception that is thrown if an operation on a scalaris ring fails because the connection is not active, a communication error occurred, an exit signal was received or the remote node sent a message containing an invalid cookie. @author Nico Kruber, kruber@zib.de @version 2.2 @since 2.0
  • eu.mosaic_cloud.platform.core.exceptions.ConnectionException
    Exception thrown when a queue-based connection cannot be set. @author Georgiana Macariu
  • fr.norsys.mapper.console.exception.ConnectionException
  • jnipap.ConnectionException
    Connection related errors Timeouts, ...
  • net.schmizz.sshj.connection.ConnectionException
    Connection-layer exception.
  • net.sourceforge.bing.exception.ConnectionException
    api.sourceforge.net/
  • org.aavso.tools.vstar.exception.ConnectionException
    This exception can be thrown when a database connection exception has occurred.
  • org.agorava.api.exception.ConnectionException
    Low level exception in Rest attempt to connect to tier service @author Pablo Fernandez @author Antoine Sabot-Durand
  • org.apache.directory.studio.ldapbrowser.core.model.ConnectionException
  • org.apache.isis.runtimes.dflt.remoting.transport.ConnectionException
    Indicates that a connection could not be established between the client and the server.
  • org.apache.maven.wagon.ConnectionException
    The exception is thrown when a connection to repository cannot be established or open connection cannot be closed. @author Michal Maczka @version $Id: ConnectionException.java 682051 2008-08-02 21:29:38Z hboutemy $
  • org.apache.oodt.cas.filemgr.structs.exceptions.ConnectionException
    @author woollard @version $Revision$

    An exception that is thrown when a connection cannot be established by a client.

  • org.apache.qpid.amqp_1_0.client.ConnectionException
  • org.apache.qpid.example.shared.ConnectionException
  • org.apache.qpid.transport.ConnectionException
    ConnectionException
  • org.jboss.blacktie.jatmibroker.xatmi.ConnectionException
    This is the exception that is raised when the connection to Blacktie is suffering.
  • org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException
    This exception is thrown when Connection Pool fails to initialize @author kstamDate: March 10, 2007
  • org.jboss.mx.remote.connector.ConnectionException
    ConnectionException is raised by a Connector to the caller when a Connection to the remote MBeanServer is lost during an invocation. @author Jeff Haynie @version $Revision: 1.3 $
  • org.jboss.narayana.blacktie.jatmibroker.xatmi.ConnectionException
    This is the exception that is raised when the connection to Blacktie is suffering.
  • org.jboss.seam.rest.example.client.ConnectionException
  • org.jivesoftware.openfire.auth.ConnectionException
    Thrown when Openfire is not able to connect to the user and group system. @author Gabriel Guardincerri
  • org.mc4j.ems.connection.ConnectionException
    @author Greg Hinkle (ghinkle@users.sourceforge.net), Apr 12, 2005 @version $Revision: 1.2 $($Author: ghinkl $ / $Date: 2006/04/12 19:11:33 $)
  • org.mule.api.ConnectionException
    Exception thrown when connect method in cloud connectors fails to connect properly.
  • org.rssowl.core.connection.ConnectionException
    Checked Exception thrown from Connection operations. @author bpasero
  • org.teiid.net.ConnectionException
    This exception indicates that an error has occurred during connection. There are many possible reasons for this, but the most likely is a problem with connection parameters.
  • org.xdams.exception.ConnectionException
  • org.xooof.xooofoscope.dao.exception.ConnectionException
    @author acsejcaTo change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
  • se.despotify.exceptions.ConnectionException

  • Examples of betsy.bpel.virtual.common.exceptions.ConnectionException

            if (isConnected()) {
                // send object
                this.oos.writeObject(object);
                this.oos.flush();
            } else {
                throw new ConnectionException("Sending message failed: "
                        + "no connection to a server established!");
            }
        }
    View Full Code Here

    Examples of ch.aonyx.broker.ib.api.net.ConnectionException

            try {
                socket = new Socket(connectionParameters.getHost(), connectionParameters.getPort());
                callback.onSuccess(new SocketSession(socket, connectionParameters.getClientId(), clientCallback));
            } catch (final UnknownHostException e) {
                LOGGER.error("", e);
                callback.onFailure(new ConnectionException(ClientMessageCode.CONNECTION_ERROR, "Unknown host "
                        + e.getMessage()));
            } catch (final IOException e) {
                LOGGER.error("", e);
                callback.onFailure(new ConnectionException(ClientMessageCode.CONNECTION_FAILURE, e.getMessage()));
            }
        }
    View Full Code Here

    Examples of com.belladati.sdk.exception.ConnectionException

            throw new UnexpectedResponseException(statusCode, new String(content));
          }
        } catch (OAuthException e) {
          throw new InternalConfigurationException("Failed to create OAuth signature", e);
        } catch (IOException e) {
          throw new ConnectionException("Failed to connect to BellaDati", e);
        } finally {
          request.releaseConnection();
        }
      }
    View Full Code Here

    Examples of com.brewtab.irc.ConnectionException

            }

            String scheme = uri.getScheme();

            if (scheme == null || !(scheme.equals("irc") || scheme.equals("ircs"))) {
                throw new ConnectionException("URI scheme must be one of irc or ircs");
            }

            return uri;
        }
    View Full Code Here

    Examples of com.cloud.exception.ConnectionException

                    if (state != State.Stopped && state != State.Destroyed) {
                        try {
                            stopRouter(router.getId(), false);
                        } catch (ResourceUnavailableException e) {
                            s_logger.warn("Fail to stop router " + router.getInstanceName(), e);
                            throw new ConnectionException(false, "Fail to stop router " + router.getInstanceName());
                        } catch (ConcurrentOperationException e) {
                            s_logger.warn("Fail to stop router " + router.getInstanceName(), e);
                            throw new ConnectionException(false, "Fail to stop router " + router.getInstanceName());
                        }
                    }
                    router.setStopPending(false);
                    router = _routerDao.persist(router);
                }
    View Full Code Here

    Examples of com.cloud.exception.ConnectionException

            CheckNetworkAnswer answer = (CheckNetworkAnswer) _agentMgr.easySend(hostId, nwCmd);

            if (answer == null) {
                s_logger.warn("Unable to get an answer to the CheckNetworkCommand from agent:" + host.getId());
                throw new ConnectionException(true, "Unable to get an answer to the CheckNetworkCommand from agent: " + host.getId());
            }

            if (!answer.getResult()) {
                s_logger.warn("Unable to setup agent " + hostId + " due to " + ((answer != null) ? answer.getDetails() : "return null"));
                String msg = "Incorrect Network setup on agent, Reinitialize agent after network names are setup, details : " + answer.getDetails();
                _alertMgr.sendAlert(AlertManager.ALERT_TYPE_HOST, dcId, host.getPodId(), msg, msg);
                throw new ConnectionException(true, msg);
            } else {
                if (answer.needReconnect()) {
                    throw new ConnectionException(false, "Reinitialize agent after network setup.");
                }
                if (s_logger.isDebugEnabled()) {
                    s_logger.debug("Network setup is correct on Agent");
                }
                return;
    View Full Code Here

    Examples of com.couchbase.client.vbucket.ConnectionException

        try {
          allPools = new JSONObject(poolsJson).getJSONArray("pools");
        } catch (JSONException e) {
          getLogger().info("Received the following unparsable response: "
            + e.getMessage());
          throw new ConnectionException("Connection URI is either incorrect "
            + "or invalid as it cannot be parsed.");
        }

        for (int i = 0; i < allPools.length(); i++) {
          try {
    View Full Code Here

    Examples of com.google.dataconnector.util.ConnectionException

          frameSender.start();

          LOG.info("Attemping login");

          if (!authorize()) {
            throw new ConnectionException("Authorization failed");
          }
          LOG.info("Successful login");

          // send registration info to the SDC server
          registration.sendRegistrationInfo(frameSender);

          // setup to start receiving and processing registration response
          frameReceiver.registerDispatcher(FrameInfo.Type.REGISTRATION, registration);

          // Setup Healthcheck
          if (localConf.getRunHeartBeatThread()) {
            LOG.info("Starting hearbeat/ health check thread.");
            healthCheckHandler.setFrameSender(frameSender);
            healthCheckHandler.setFailCallback(this);
            frameReceiver.registerDispatcher(FrameInfo.Type.HEALTH_CHECK, healthCheckHandler);
            healthCheckHandler.start();
          }

          // Setup Socket Data.
          socksDataHandler.setFrameSender(frameSender);
          frameReceiver.registerDispatcher(FrameInfo.Type.SOCKET_DATA, socksDataHandler);

          // Setup AgentRequest handler
          agentRequestHandler.setFrameSender(frameSender);
          frameReceiver.registerDispatcher(FrameInfo.Type.FETCH_REQUEST, agentRequestHandler);

          // Setup SocketSessionRequestHandler
          socketSessionRequestHandler.setFrameSender(frameSender);
          frameReceiver.registerDispatcher(FrameInfo.Type.SOCKET_SESSION, socketSessionRequestHandler);

          // a thread to watch for changes in the resources.xml file
          // make this thread a daemon - so it can't hold up the process from exiting
          LOG.info("starting a thread to watch resources file");
          resourcesFileWatcher.setFrameSender(frameSender);
          resourcesFileWatcher.start();

          // Add to shutdown manager so it gets gracefully shutdown.
          shutdownManager.addStoppable(this);
          frameReceiver.startDispatching();
        } catch (IOException e) {
          throw new ConnectionException(e);
        } catch (FramingException e) {
          throw new ConnectionException(e);
        }
      }
    View Full Code Here

    Examples of com.jdroid.java.exception.ConnectionException

          source.setEncoding(EncodingUtils.UTF8);
          reader.parse(source);
         
          return getResponse();
        } catch (IOException e) {
          throw new ConnectionException(e);
        } catch (SAXException e) {
          throw new UnexpectedException(e);
        } finally {
          LOGGER.debug("Parsing finished.");
        }
    View Full Code Here

    Examples of com.lixia.rdp.ConnectionException

                SecureLayer.connect(server);
                this.connected = true;
                rdp_send_client_info(connect_flags, domain, username, password, command, directory);
            } // Handle an unresolvable hostname
            catch (UnknownHostException e) {
                throw new ConnectionException("Could not resolve host name: " + server);
            } // Handle a refused connection
            catch (ConnectException e) {
                throw new ConnectionException("Connection refused when trying to connect to " + server + " on port " + RDPConnection.conf.port);
            } // Handle a timeout on connecting
            catch (NoRouteToHostException e) {
                throw new ConnectionException("Connection timed out when attempting to connect to " + server);
            } catch (IOException e) {
                throw new ConnectionException("Connection Failed");
            } catch (RdesktopException ex) {
                java.util.logging.Logger.getLogger(ARDP5.class.getName()).log(Level.SEVERE, null, ex);
            } catch (CryptoException ex) {
                java.util.logging.Logger.getLogger(ARDP5.class.getName()).log(Level.SEVERE, null, ex);
            } catch (OrderException ex) {
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.