Package org.apache.stratos.manager.exception

Examples of org.apache.stratos.manager.exception.ADCException


      initializeStream();
      dataPublisher.addStreamDefinition(streamDefinition);
    } catch (Exception e) {
      String msg = "Unable to create a data publisher to "+ bamServerUrl;
      log.error(msg, e);
      throw new ADCException(msg, e);
    }
  }
View Full Code Here


            CloudControllerServiceClient.getServiceClient().unregisterService(clusterId);

        } catch (Exception e) {
            String errorMsg = "Error in unregistering service cluster with domain " + clusterId;
            log.error(errorMsg);
            throw new ADCException(errorMsg, e);
        }

        log.info("Unregistered service cluster, domain " + clusterId);
    }
View Full Code Here

        if(type.equals("mysql")) {
            cartridgeSubscriptionConnector = new DataCartridgeSubscriptionConnector();
        }

        if(cartridgeSubscriptionConnector == null) {
            throw new ADCException("Unable to find matching CartridgeSubscriptionConnector for " + type);
        }

        return cartridgeSubscriptionConnector;
    }
View Full Code Here

            .getService(cartridgeInfo.getType());

      } catch (PersistenceManagerException e) {
        String errorMsg = "Error in checking if Service is available is PersistenceManager";
        log.error(errorMsg, e);
        throw new ADCException(errorMsg, e);
      }

      if (deployedLBService == null) {
        String errorMsg = "There is no deployed Service for type "
            + cartridgeInfo.getType();
        log.error(errorMsg);
        throw new ADCException(errorMsg);
      }

      if(log.isDebugEnabled()){
        log.debug(" Setting cluster Domain : " + deployedLBService.getClusterId());
        log.debug(" Setting Host Name : " + deployedLBService.getHostName());
View Full Code Here

TOP

Related Classes of org.apache.stratos.manager.exception.ADCException

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.