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 org.rssowl.core.connection.ConnectionException

      private InputStream loadFileProtocol(URI link) throws ConnectionException {
        try {
          File file = new File(link);
          return new BufferedInputStream(new FileInputStream(file));
        } catch (FileNotFoundException e) {
          throw new ConnectionException(Activator.getDefault().createErrorStatus(e.getMessage(), e));
        }
      }
    View Full Code Here

    Examples of org.rssowl.core.connection.ConnectionException

          inS = openConnection(client, getMethod);

          /* Try to pipe the resulting stream into a GZipInputStream */
          inS = pipeStream(inS, getMethod);
        } catch (IOException e) {
          throw new ConnectionException(Activator.getDefault().createErrorStatus(e.getMessage(), e));
        }

        /* In case authentication required / failed */
        if (getMethod.getStatusCode() == HTTP_ERROR_AUTH_REQUIRED)
          throw new AuthenticationRequiredException(Activator.getDefault().createErrorStatus("Authentication required!", null)); //$NON-NLS-1$

        /* In case proxy-authentication required / failed */
        if (getMethod.getStatusCode() == HTTP_ERROR_PROXY_AUTH_REQUIRED)
          throw new ProxyAuthenticationRequiredException(Activator.getDefault().createErrorStatus("Proxy-Authentication required!", null)); //$NON-NLS-1$

        /* If status code is 4xx, throw an IOException with the status code included */
        if (getMethod.getStatusCode() >= HTTP_ERRORS)
          throw new ConnectionException(Activator.getDefault().createErrorStatus("Server returned HTTP Status " + String.valueOf(getMethod.getStatusCode()), null)); //$NON-NLS-1$

        /* In case the Feed has not been modified since */
        if (getMethod.getStatusCode() == HTTP_STATUS_NOT_MODIFIED)
          throw new NotModifiedException(Activator.getDefault().createInfoStatus("Feed has not been modified since!", null)); //$NON-NLS-1$

        /* In case response body is not available */
        if (inS == null)
          throw new ConnectionException(Activator.getDefault().createErrorStatus("Response Stream is not available!", null)); //$NON-NLS-1$

        /* Check wether a Progress Monitor is provided to support early cancelation */
        IProgressMonitor monitor = null;
        if (properties != null && properties.containsKey(IConnectionPropertyConstants.PROGRESS_MONITOR))
          monitor = (IProgressMonitor) properties.get(IConnectionPropertyConstants.PROGRESS_MONITOR);
    View Full Code Here

    Examples of org.rssowl.core.connection.ConnectionException

      private InputStream loadFileProtocol(URI link) throws ConnectionException {
        try {
          File file = new File(link);
          return new BufferedInputStream(new FileInputStream(file));
        } catch (FileNotFoundException e) {
          throw new ConnectionException(Activator.getDefault().createErrorStatus(e.getMessage(), e));
        }
      }
    View Full Code Here

    Examples of org.rssowl.core.connection.ConnectionException

      public InputStream load(URL url, Map<Object, Object> properties) throws ConnectionException {
        try {
          File file = new File(url.toURI());
          return new BufferedInputStream(new FileInputStream(file));
        } catch (URISyntaxException e) {
          throw new ConnectionException(Activator.getDefault().createErrorStatus(e.getMessage(), e));
        } catch (FileNotFoundException e) {
          throw new ConnectionException(Activator.getDefault().createErrorStatus(e.getMessage(), e));
        }
      }
    View Full Code Here

    Examples of org.teiid.net.ConnectionException

            try {
              this.result = this.getService(ILogon.class).logon(this.connectionProperties);
            } catch (LogonException e) {
                // Propagate the original message as it contains the message we want
                // to give to the user
                throw new ConnectionException(e, e.getMessage());
            } catch (TeiidComponentException e) {
              if (e.getCause() instanceof CommunicationException) {
                throw (CommunicationException)e.getCause();
              }
                throw new CommunicationException(e);
    View Full Code Here

    Examples of org.teiid.net.ConnectionException

                        }
                      }
                  } catch (LogonException e) {
                      // Propagate the original message as it contains the message we want
                      // to give to the user
                      throw new ConnectionException(e, e.getMessage());
                  } catch (TeiidComponentException e) {
                    if (e.getCause() instanceof CommunicationException) {
                      throw (CommunicationException)e.getCause();
                    }
                      throw new CommunicationException(e, JDBCPlugin.Util.getString("PlatformServerConnectionFactory.Unable_to_find_a_component_used_in_logging_on_to")); //$NON-NLS-1$
    View Full Code Here

    Examples of org.teiid.net.ConnectionException

        } else {
          ILogon logonInstance = this.serverInstance.getService(ILogon.class);
          try {
            this.logon(logonInstance, true);
          } catch (LogonException e) {
            throw new ConnectionException(e);
          } catch (TeiidComponentException e) {
            throw new CommunicationException(e);
          }
        }
      }
    View Full Code Here

    Examples of org.teiid.net.ConnectionException

       
        TeiidURL url;
        try {
          url = new TeiidURL(connectionProperties.getProperty(TeiidURL.CONNECTION.SERVER_URL));
        } catch (MalformedURLException e1) {
          throw new ConnectionException(e1);
        }
       
        String discoveryStrategyName = connectionProperties.getProperty(TeiidURL.CONNECTION.DISCOVERY_STRATEGY, URL);

        ServerDiscovery discovery;

        if (URL.equalsIgnoreCase(discoveryStrategyName)) {
          discovery = new UrlServerDiscovery();
        } else {
          try {
            discovery = (ServerDiscovery)ReflectionHelper.create(discoveryStrategyName, null, this.getClass().getClassLoader());
          } catch (TeiidException e) {
            throw new ConnectionException(e);
          }
        }
       
        discovery.init(url, connectionProperties);
       
    View Full Code Here

    Examples of org.teiid.net.ConnectionException

            SQLStates.CONNECTION_EXCEPTION_STALE_CONNECTION);
        testCreateThrowable(
            new ConnectException("A test connection attempt exception"), //$NON-NLS-1$
            SQLStates.CONNECTION_EXCEPTION_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION);
        testCreateThrowable(
            new ConnectionException("A test MM Connection Exception"), //$NON-NLS-1$
            SQLStates.CONNECTION_EXCEPTION_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION);
        testCreateThrowable(new IOException(
            "A test Generic java.io.IOException"), //$NON-NLS-1$
            SQLStates.CONNECTION_EXCEPTION_STALE_CONNECTION);
        testCreateThrowable(
    View Full Code Here

    Examples of org.xdams.exception.ConnectionException

        try {
          System.out.println("ConnectionManager.getConnection() " + archive);
          xwconn = XWDriverManager.getConnection("org.xdams.xw.XWDriver", "regesta://" + archive.getHost() + ":" + archive.getPort() + "/" + archive.getAlias() + "/pne=" + archive.getPne() + ";", "lettore", "");
        } catch (Exception e) {
          logger.debug("ERROR getConnection error=" + e.getMessage(), xwconn);
          throw new ConnectionException("ERROR getConnection error=" + e.getMessage() + "; archive:" + archive);
        }
        return xwconn;
      }
    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.