When two different types of exceptions are handled the same way, it is sometimes required to duplicate the code of the catch statements.

For example :

<?php try { // Some code... } catch ( ExceptionType1 $e ) { // Code to handle the exception } catch ( ExceptionType2 $e ) { // Same code to handle the exception } catch ( Exception $e ) { // ... }