Package org.apache.slide.common

Examples of org.apache.slide.common.SlideException


        updateDescriptors(resourceUri);
        try {
            return propertyHelper.getProperty(propertyName, revisionDescriptors, revisionDescriptor, contextPath, servletPath);
        }
        catch (JDOMException e) {
            throw new SlideException("ComputedPropertyProvider.getProperty(): " + e.getMessage());
        }
    }
View Full Code Here


     */
    public String toString() {
        String result = new String();
        Enumeration list = exceptions.elements();
        while (list.hasMoreElements()) {
            SlideException e = (SlideException) list.nextElement();
            result = result + e.getMessage() + "\n";
        }
        return result;
    }
View Full Code Here

     * Constructor.
     *
     * @param objectUri Uri of the forbidden operation
     */
    public ForbiddenException(String objectUri) {
        this(objectUri, new SlideException("no cause given", false));
    }
View Full Code Here

     * Constructor.
     *
     * @param objectUri Uri of the forbidden operation
     */
    public ConflictException(String objectUri) {
        this(objectUri, new SlideException("no cause given", false));
    }
View Full Code Here

            XMLValue xmlValue;
            try {
                xmlValue =  new XMLValue(versionSetProperty.getValue().toString());
            }
            catch (JDOMException e) {
                throw new SlideException("Could not parse DAV:version-set: "+nrds.getUri());
            }
            Iterator hrefIterator = xmlValue.iterator();
           
            NodeRevisionNumber currentNrn= null;
            UriHandler currentUh = null;
View Full Code Here

            nestedException.enumerateExceptions();
        while (nestedExceptionsList.hasMoreElements()) {

            Element response = new Element(E_RESPONSE, DNSP);
            multistatus.addContent(response);
            SlideException ex =
                (SlideException) nestedExceptionsList.nextElement();
            generateStatusText(response, MethodUtil.getErrorMessage(ex),
                               getErrorCode(ex));
            if (ex instanceof PreconditionViolationException) {
                response.addContent(MethodUtil.getPreconditionViolationResponseDescription((PreconditionViolationException)ex));
View Full Code Here

        updateDescriptors(resourceUri);
        try {
            return propertyHelper.getProperty(propertyName, revisionDescriptors, revisionDescriptor, contextPath, serverURL);
        }
        catch (JDOMException e) {
            throw new SlideException("ComputedPropertyProvider.getProperty(): " + e.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.slide.common.SlideException

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.