@@ -65,8 +65,7 @@ discard block |
||
| 65 | 65 | 'language' => $languageCode |
| 66 | 66 | ] |
| 67 | 67 | ); |
| 68 | - } |
|
| 69 | - catch ( DBALException $ex ) { |
|
| 68 | + } catch ( DBALException $ex ) { |
|
| 70 | 69 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 71 | 70 | } |
| 72 | 71 | } |
@@ -87,8 +86,7 @@ discard block |
||
| 87 | 86 | 'language' => $languageCode |
| 88 | 87 | ] |
| 89 | 88 | ); |
| 90 | - } |
|
| 91 | - catch ( DBALException $ex ) { |
|
| 89 | + } catch ( DBALException $ex ) { |
|
| 92 | 90 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 93 | 91 | } |
| 94 | 92 | } |
@@ -39,8 +39,7 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | try { |
| 41 | 41 | $this->storeFingerprintParts( $id, $fingerprint ); |
| 42 | - } |
|
| 43 | - catch ( DBALException $ex ) { |
|
| 42 | + } catch ( DBALException $ex ) { |
|
| 44 | 43 | $this->connection->rollBack(); |
| 45 | 44 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 46 | 45 | } |
@@ -80,8 +79,7 @@ discard block |
||
| 80 | 79 | $this->config->getAliasesTableName(), |
| 81 | 80 | [ 'entity_id' => $id->getSerialization() ] |
| 82 | 81 | ); |
| 83 | - } |
|
| 84 | - catch ( DBALException $ex ) { |
|
| 82 | + } catch ( DBALException $ex ) { |
|
| 85 | 83 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 86 | 84 | } |
| 87 | 85 | } |
@@ -82,8 +82,7 @@ discard block |
||
| 82 | 82 | 'entity_id', |
| 83 | 83 | $conditions |
| 84 | 84 | ); |
| 85 | - } |
|
| 86 | - catch ( DBALException $ex ) { |
|
| 85 | + } catch ( DBALException $ex ) { |
|
| 87 | 86 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 88 | 87 | } |
| 89 | 88 | } |
@@ -168,8 +167,7 @@ discard block |
||
| 168 | 167 | 'entity_id', |
| 169 | 168 | $conditions |
| 170 | 169 | ); |
| 171 | - } |
|
| 172 | - catch ( DBALException $ex ) { |
|
| 170 | + } catch ( DBALException $ex ) { |
|
| 173 | 171 | throw new TermStoreException( $ex->getMessage(), $ex ); |
| 174 | 172 | } |
| 175 | 173 | } |