> @@ -293,6 +293,8 @@ public void createDirectory(String container, String 
> directory) {
>     public void deleteDirectory(String container, String directory) {
>        // create complete dir path
>        String fullDirPath = buildPathStartingFromBaseDir(container, 
> directory);
> +      if(!new File(fullDirPath).exists())
> +         throw new RuntimeException("Container does not exist");

Throw `ContainerNotFoundException` instead.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/454/files#r15429990

Reply via email to