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

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


    return xmlSource;
  }

  private void handleException(final String msg) {
    log.error(msg);
    throw new MalformedConfigurationFileException(msg);
  }
View Full Code Here


    throw new MalformedConfigurationFileException(msg);
  }

  private void handleException(final String msg, final Exception e) {
    log.error(msg, e);
    throw new MalformedConfigurationFileException(msg, e);
  }
View Full Code Here

    }

   
    private static void handleException(final String msg) throws MalformedConfigurationFileException{
        log.error(msg);
        throw new MalformedConfigurationFileException(msg);
    }
View Full Code Here

            return documentElement;

        } catch (XMLStreamException e) {
            String msg = "Failed to parse the configuration file : " + xmlSource.getPath();
            log.error(msg, e);
            throw new MalformedConfigurationFileException(msg, e);
        } catch (FileNotFoundException e) {
            String msg = "Configuration file cannot be found : " + xmlSource.getPath();
            log.error(msg);
            throw new MalformedConfigurationFileException(msg);
        }

    }
View Full Code Here

            nodeList = axiomXpath.selectNodes(elt);
            return nodeList.isEmpty() null : nodeList.get(0);
        } catch (JaxenException e) {
            String msg = "Error occurred while reading the Xpath (" + xpath + ")";
            log.error(msg, e);
            throw new MalformedConfigurationFileException(msg, e);
        }

    }
View Full Code Here

            nodeList = axiomXpath.selectNodes(elt);
            return nodeList;
        } catch (JaxenException e) {
            String msg = "Error occurred while reading the Xpath (" + xpath + ")";
            log.error(msg, e);
            throw new MalformedConfigurationFileException(msg, e);
        }

    }
View Full Code Here

            nodeList = axiomXpath.selectNodes(elt);
            return nodeList;
        } catch (JaxenException e) {
            String msg = "Error occurred while reading the Xpath (" + xpath + ")";
            log.error(msg, e);
            throw new MalformedConfigurationFileException(msg, e);
        }

    }
View Full Code Here

TOP

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

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.