Question: How do you make www.homepage.com/app/shoppingcart look like www.homepage.com/shoppingcart -

how to rewrite the URL-s 

is there a url rewrite plugin for cakephp that does such things

Answer: 
To quote the javadoc:

> 
> Throws InterruptedException - if another thread has interrupted the current thread.
> 
> 
> 

When your thread is not interrupted the two blocks of code are qequivalent, but you cannot know whether you will be interrupted or not, so to be sure your code is correct in both circumstances you should handle the `InterruptedException` (to either ignore or sleep again of not enough time has passed.)
From the [Java tutorial](http://download.oracle.com/javase/tutorial/essential/exceptions/finally.html) on the finally block:

> 
> The finally block always executes when the try block exits. This ensures that the finally block is executed even if an unexpected exception occurs.
> 
> 
> **Note: If the JVM exits while the try or catch code is being executed, then the finally block may not execute. Likewise, if the thread executing the try or catch code is interrupted or killed, the finally block may not execute even though the application as a whole continues.**
> 
> 
> 

So, ideally there should be no difference between the behavior of the two blocks of code. But it would help if you could share more details about what is different.