Package org.apache.stratos.cloud.controller.exception

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


    throw new CloudControllerException(msg, e);
  }
 
  public static void handleException(String msg){
    log.error(msg);
    throw new CloudControllerException(msg);
  }
View Full Code Here


   
    if (iaasInfo.getComputeService() == null) {
      String msg = "Compute service is null for IaaS provider: "
          + iaasInfo.getName();
      log.fatal(msg);
      throw new CloudControllerException(msg);
    }

    TemplateBuilder templateBuilder = iaasInfo.getComputeService()
        .templateBuilder();
View Full Code Here

        } catch (RegistryException e) {
            String msg =
                    "Failed to create the registry resource " +
                            CloudControllerConstants.CLOUD_CONTROLLER_RESOURCE;
            log.error(msg, e);
            throw new CloudControllerException(msg, e);
        }
    }
View Full Code Here

        } catch (Exception e) {
            String msg = "Failed to persist the cloud controller data in registry.";
            registryService.rollbackTransaction();
            log.error(msg, e);
            throw new CloudControllerException(msg, e);

        }
    }
View Full Code Here

        } catch (Exception e) {
            String msg = "Failed to persist the cloud controller data in registry.";
            registryService.rollbackTransaction();
            log.error(msg, e);
            throw new CloudControllerException(msg, e);

        }
    }
View Full Code Here

            // this means, we've never persisted CC info in registry
            return null;
        } catch (RegistryException e) {
            String msg = "Failed to retrieve cloud controller data from registry.";
            log.error(msg, e);
            throw new CloudControllerException(msg, e);
        }

    }
View Full Code Here

            // this means, we've never persisted CC info in registry
            return null;
        } catch (RegistryException e) {
            String msg = "Failed to retrieve cloud controller data from registry.";
            log.error(msg, e);
            throw new CloudControllerException(msg, e);
        }

    }
View Full Code Here

     * @param msg
     *            exception message
     */
    private static void handleException(String msg) {
        log.error(msg);
        throw new CloudControllerException(msg);
    }
View Full Code Here

     * @param e
     *            exception
     */
    private static void handleException(String msg, Exception e) {
        log.error(msg, e);
        throw new CloudControllerException(msg, e);

    }
View Full Code Here

    }

 
  public static void handleException(String msg, Exception e){
    log.error(msg, e);
    throw new CloudControllerException(msg, e);
  }
View Full Code Here

TOP

Related Classes of org.apache.stratos.cloud.controller.exception.CloudControllerException

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.