@@ -60,9 +60,12 @@ |
||
60 | 60 | */ |
61 | 61 | public function affectedRows() : int |
62 | 62 | { |
63 | - try { |
|
63 | + try |
|
64 | + { |
|
64 | 65 | return $this->result->rowCount(); |
65 | - } catch( \Doctrine\DBAL\Driver\Exception $e ) { |
|
66 | + } |
|
67 | + catch( \Doctrine\DBAL\Driver\Exception $e ) |
|
68 | + { |
|
66 | 69 | throw new \Aimeos\Base\DB\Exception( $e->getMessage(), $e->getCode() ); |
67 | 70 | } |
68 | 71 | } |