Examples of UnregisteredCartridgeException


Examples of org.apache.stratos.adc.mgt.exception.UnregisteredCartridgeException

    try {
      return stub.getCartridgeInfo(cartridgeType);
    } catch (RemoteException e) {
      throw e;
    } catch (CloudControllerServiceUnregisteredCartridgeExceptionException e) {
      throw new UnregisteredCartridgeException("Not a registered cartridge " + cartridgeType, cartridgeType, e);
    }
  }
View Full Code Here

Examples of org.apache.stratos.adc.mgt.exception.UnregisteredCartridgeException

            getServiceClient().register(domain, subDomain, cartridgeType, payload, tenantRange,
                    hostName, properties);
        } catch (CloudControllerServiceUnregisteredCartridgeExceptionException e) {
            String msg = "Exception is occurred in register service operation. Reason :" + e.getMessage();
            log.error(msg, e);
            throw new UnregisteredCartridgeException("Not a registered cartridge " + cartridgeType, cartridgeType, e);
        } catch (RemoteException e) {
          log.error("Remote Error", e);
          throw new ADCException("An error occurred in subscribing process");
        }
    }
View Full Code Here

Examples of org.apache.stratos.cloud.controller.exception.UnregisteredCartridgeException

    if (newServiceCtxt.getCartridge() == null) {
      String msg = "Registration failed - Unregistered Cartridge type: "
          + cartridgeType;
      log.error(msg);
      throw new UnregisteredCartridgeException(msg);
    }

    if (payload != null && payload.length != 0) {

      // write payload file
View Full Code Here

Examples of org.apache.stratos.cloud.controller.exception.UnregisteredCartridgeException

    }

    String msg = "Cannot find a Cartridge having a type of "
        + cartridgeType + ". Hence unable to find information.";
    log.error(msg);
    throw new UnregisteredCartridgeException(msg);
  }
View Full Code Here

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

            CloudControllerServiceClient.getServiceClient().register(domain, cartridgeType, payload.toString(), tenantRange,
                    hostName, properties, autoscalingPoliyName, deploymentPolicyName );
        } catch (CloudControllerServiceUnregisteredCartridgeExceptionException e) {
            String msg = "Exception is occurred in register service operation. Reason :" + e.getMessage();
            log.error(msg, e);
            throw new UnregisteredCartridgeException("Not a registered cartridge " + cartridgeType, cartridgeType, e);
        } catch (RemoteException e) {
          log.error("Remote Error", e);
          throw new ADCException("An error occurred in subscribing process", e);
        }
    }
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.