Remove not needed exception duplication

This makes the code more compliant to the DRY principle, taking advantage of new functionality available as of PHP 5.3.
This puts two entirely different conditions together. That makes it harder to step through the code with a debugger. Also, like this the error condition block is not named at all. And it's nicer to have it at the end.