| 428 | } |
| 429 | |
| 430 | long long TJsonValue::GetIntegerSafe() const { |
| 431 | if (!IsInteger()) { |
| 432 | ythrow TJsonException() << "Not an integer"; |
| 433 | } |
| 434 | return GetInteger(); |
| 435 | } |
| 436 | |
| 437 | unsigned long long TJsonValue::GetUIntegerSafe() const { |
| 438 | if (!IsUInteger()) { |
no test coverage detected