return dirs;
}
if ( status == HttpStatus.SC_NOT_FOUND )
{
throw new ResourceDoesNotExistException( "Destination directory does not exist: " + url );
}
}
}
catch ( DavException e )
{
throw new TransferFailedException( e.getMessage(), e );
}
catch ( IOException e )
{
throw new TransferFailedException( e.getMessage(), e );
}
finally
{
if ( method != null )
{
method.releaseConnection();
}
}
throw new ResourceDoesNotExistException(
"Destination path exists but is not a " + "WebDAV collection (directory): " + url );
}