File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -176,25 +176,6 @@ public function runStatements(iterable $statements): CypherList
176
176
return new CypherList ($ tbr );
177
177
}
178
178
179
- /**
180
- * @throws Neo4jException
181
- */
182
- private function handleMessageException (Neo4jException $ e ): never
183
- {
184
- $ exception = $ e ->getErrors ()[0 ];
185
- if (!($ exception ->getClassification () === 'ClientError ' && $ exception ->getCategory () === 'Request ' )) {
186
- $ this ->connection ->reset ();
187
- }
188
- if (!$ this ->isFinished () && in_array (
189
- $ exception ->getClassification (),
190
- TransactionHelper::ROLLBACK_CLASSIFICATIONS
191
- )) {
192
- $ this ->state = TransactionState::ROLLED_BACK ;
193
- }
194
-
195
- throw $ e ;
196
- }
197
-
198
179
public function isRolledBack (): bool
199
180
{
200
181
return $ this ->state === TransactionState::ROLLED_BACK || $ this ->state === TransactionState::TERMINATED ;
You can’t perform that action at this time.
0 commit comments