// Path: src/main/java/net/sf/webdav/exceptions/WebdavException.java
// public class WebdavException extends RuntimeException {
// 
//     public WebdavException() {
//         super();
//     }
// 
//     public WebdavException(String message) {
//         super(message);
//     }
// 
//     public WebdavException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public WebdavException(Throwable cause) {
//         super(cause);
//     }
// }


import java.io.File;
import java.lang.reflect.Constructor;
import javax.servlet.ServletException;
import net.sf.webdav.exceptions.WebdavException;
        super.init(webdavStore, dftIndexFile, insteadOf404,
                noContentLengthHeader, lazyFolderCreationOnPut);
    }

    private int getIntInitParameter(String key) {
        return getInitParameter(key) == null ? -1 : Integer
                .parseInt(getInitParameter(key));
    }

    protected IWebdavStore constructStore(String clazzName, File root) {
        IWebdavStore webdavStore;
        try {
            Class<?> clazz = WebdavServlet.class.getClassLoader().loadClass(
                    clazzName);

            Constructor<?> ctor = clazz
                    .getConstructor(new Class[] { File.class });

            webdavStore = (IWebdavStore) ctor
                    .newInstance(new Object[] { root });
        } catch (Exception e) {
            e.printStackTrace();
            throw new RuntimeException("some problem making store component", e);
        }
        return webdavStore;
    }

    private File getFileRoot() {
        String rootPath = getInitParameter(ROOTPATH_PARAMETER);
        if (rootPath == null) {
// Path: src/main/java/net/sf/webdav/exceptions/WebdavException.java
// public class WebdavException extends RuntimeException {
// 
//     public WebdavException() {
//         super();
//     }
// 
//     public WebdavException(String message) {
//         super(message);
//     }
// 
//     public WebdavException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public WebdavException(Throwable cause) {
//         super(cause);
//     }
// }


// Path: src/main/java/net/sf/webdav/WebdavServlet.java
import java.io.File;
import java.lang.reflect.Constructor;
import javax.servlet.ServletException;
import net.sf.webdav.exceptions.WebdavException;

        super.init(webdavStore, dftIndexFile, insteadOf404,
                noContentLengthHeader, lazyFolderCreationOnPut);
    }

    private int getIntInitParameter(String key) {
        return getInitParameter(key) == null ? -1 : Integer
                .parseInt(getInitParameter(key));
    }

    protected IWebdavStore constructStore(String clazzName, File root) {
        IWebdavStore webdavStore;
        try {
            Class<?> clazz = WebdavServlet.class.getClassLoader().loadClass(
                    clazzName);

            Constructor<?> ctor = clazz
                    .getConstructor(new Class[] { File.class });

            webdavStore = (IWebdavStore) ctor
                    .newInstance(new Object[] { root });
        } catch (Exception e) {
            e.printStackTrace();
            throw new RuntimeException("some problem making store component", e);
        }
        return webdavStore;
    }

    private File getFileRoot() {
        String rootPath = getInitParameter(ROOTPATH_PARAMETER);
        if (rootPath == null) {
            throw new WebdavException("missing parameter: "