package com.bradmcevoy.http;

import com.bradmcevoy.http.exceptions.ConflictException;

/**
 * webDAV MOVE
 */
public interface MoveableResource  extends Resource {

    /**
     *
     * @param rDest is the destination folder to move to.
     * @param name is the new name of the moved resource
     * @throws ConflictException if the destination already exists, or the operation
     * could not be completed because of some other persisted state
     */
    void moveTo(CollectionResource rDest, String name) throws ConflictException;
    
}

@@ -63,24 +63,147 @@
 eptions.
-Conflict
+BadRequestException;%0D%0Aimport com.bradmcevoy.http.exceptions.ConflictException;%0D%0Aimport com.bradmcevoy.http.exceptions.NotAuthorized
 Exceptio
@@ -668,16 +668,61 @@
 xception
+, NotAuthorizedException, BadRequestException
 ;%0D%0A    %0D

add checked exceptions