package org.springframework.content.commons.io;

import org.springframework.core.io.Resource;

public interface DeletableResource extends Resource {

	/**
	 * Deletes the resource. <br>
	 * <br>
	 * Returns true if the deletion was successful, otherwise false. If the operation
	 * returns true then the resource handle itself must be considered unreliable and
	 * should be discarded.
	 */
	void delete();

}

@@ -88,16 +88,45 @@
 ource;%0A%0A
+import java.io.IOException;%0A%0A
 public i
@@ -427,13 +427,32 @@
 delete()
+ throws IOException
 ;%0A%0A%7D%0A

Make DeletableResource.delete throw IOException