Package eu.mosaic_cloud.platform.core.exceptions

Examples of eu.mosaic_cloud.platform.core.exceptions.ConnectionException


          MemcachedStub.logger.trace ("MemcachedStub: use existing stub.");
          AbstractDriverStub.incDriverReference (stub);
        }
      } catch (final Exception e) {
        FallbackExceptionTracer.defaultInstance.traceDeferredException (e);
        final ConnectionException e1 = new ConnectionException ("The Memcached proxy cannot connect to the driver: " + e.getMessage (), e);
        FallbackExceptionTracer.defaultInstance.traceIgnoredException (e1);
      }
    }
    return stub;
  }
View Full Code Here


      AbstractDriverStub.incDriverReference (stub);
      channel.accept (KeyValueSession.DRIVER, stub);
      channel.accept (MemcachedSession.DRIVER, stub);
    } catch (final Exception e) {
      FallbackExceptionTracer.defaultInstance.traceDeferredException (e);
      final ConnectionException e1 = new ConnectionException ("The Memcached proxy cannot connect to the driver: " + e.getMessage (), e);
      FallbackExceptionTracer.defaultInstance.traceIgnoredException (e1);
      stub = null;
    }
    return stub;
  }
View Full Code Here

          KeyValueStub.logger.trace ("KeyValueStub: use existing stub."); // $NON-NLS-1$
          AbstractDriverStub.incDriverReference (stub);
        }
      } catch (final DriverNotFoundException e) {
        FallbackExceptionTracer.defaultInstance.traceDeferredException (e);
        final ConnectionException e1 = new ConnectionException ("The required key-value driver cannot be provided: " + e.getMessage (), e);
        FallbackExceptionTracer.defaultInstance.traceIgnoredException (e1);
      }
    }
    return stub;
  }
View Full Code Here

      stub.driverClass = KeyValueDriverFactory.DriverType.valueOf (driverName.toUpperCase (Locale.ENGLISH)).getDriverClass ();
      AbstractDriverStub.incDriverReference (stub);
      channel.accept (KeyValueSession.DRIVER, stub);
    } catch (final DriverNotFoundException e) {
      FallbackExceptionTracer.defaultInstance.traceDeferredException (e);
      final ConnectionException e1 = new ConnectionException ("The required key-value driver cannot be provided: " + e.getMessage (), e);
      FallbackExceptionTracer.defaultInstance.traceIgnoredException (e1);
      stub = null;
    }
    return stub;
  }
View Full Code Here

TOP

Related Classes of eu.mosaic_cloud.platform.core.exceptions.ConnectionException

Copyright © 2018 www.massapicom. 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.