Examples of StratosException


Examples of org.apache.stratos.common.exception.StratosException

            TenantMgtEmailSenderUtil.sendTenantCreationVerification(tenantInfoBean);
        } catch (Exception e) {
            String message = "Error sending tenant creation Mail to tenant domain "
                + tenantInfoBean.getTenantDomain();
            log.error(message, e);
            throw new StratosException(message, e);
        }
        TenantMgtEmailSenderUtil.notifyTenantCreationToSuperAdmin(tenantInfoBean);
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

                TenantMgtEmailSenderUtil.notifyResetPassword(tenantInfoBean);
            } catch (Exception e) {
                String message = "Error sending tenant update Mail to tenant domain "
                    + tenantInfoBean.getTenantDomain();
                log.error(message, e);
                throw new StratosException(message, e);
            }
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

        try {
            packageConfigs = CommonUtil.buildOMElement(new FileInputStream(configFilePath));
        } catch (Exception e) {
            String msg = "Error in deserializing the packageConfigs file: " + configFilePath + ".";
            log.error(msg, e);
            throw new StratosException(msg, e);
        }

        @SuppressWarnings("unchecked")
        Iterator<OMElement> packageConfigsChildsIt = packageConfigs.getChildElements();
        while (packageConfigsChildsIt.hasNext()) {
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

            OMElement valueNode = (OMElement) valueNodes.get(0);
            return valueNode.getText();
        } catch (JaxenException e) {
            String msg = "Error in retrieving the key: " + qualifiedKey + ".";
            log.error(msg, e);
            throw new StratosException(msg, e);
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

            KeyStoreGenerator ksGenerator = new KeyStoreGenerator(tenantInfo.getTenantId());
            ksGenerator.generateKeyStore();
        } catch (KeyStoreMgtException e) {
            String message = "Error when generating the keystore";
            log.error(message, e);
            throw new StratosException(message, e);
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

            ThemeUtil.loadTheme(tenantInfo.getTenantId());
        } catch (RegistryException e) {
            String msg = "Error in loading the theme for the tenant: "
                + tenantInfo.getTenantDomain() + ".";
            log.error(msg, e);
            throw new StratosException(msg, e);
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

                ksGenerator.generateKeyStore();
            }
        } catch (KeyStoreMgtException e) {
            String message = "Error when generating the keystore";
            log.error(message, e);
            throw new StratosException(message, e);
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

            TenantMgtEmailSenderUtil.sendTenantCreationVerification(tenantInfoBean);
        } catch (Exception e) {
            String message = "Error sending tenant creation Mail to tenant domain "
                + tenantInfoBean.getTenantDomain();
            log.error(message, e);
            throw new StratosException(message, e);
        }
        TenantMgtEmailSenderUtil.notifyTenantCreationToSuperAdmin(tenantInfoBean);
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

                TenantMgtEmailSenderUtil.notifyResetPassword(tenantInfoBean);
            } catch (Exception e) {
                String message = "Error sending tenant update Mail to tenant domain "
                    + tenantInfoBean.getTenantDomain();
                log.error(message, e);
                throw new StratosException(message, e);
            }
        }
    }
View Full Code Here

Examples of org.apache.stratos.common.exception.StratosException

            ThemeUtil.loadTheme(tenantInfo.getTenantId());
        } catch (RegistryException e) {
            String msg = "Error in loading the theme for the tenant: "
                + tenantInfo.getTenantDomain() + ".";
            log.error(msg, e);
            throw new StratosException(msg, 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.