20.02.2014, 20:06 | #9 |
Участник
|
X++: ..... catch (Exception::DuplicateKeyException) { // Prevent an endless loop if (tryCount < 5) { retry; } else { throw Exception::DuplicateKeyExceptionNotRecovered; } } |
|