Remove constructors for ov Exceptions (#16938)

* Remove constructors for ov Exceptions

* Fixed linux build

* Fixed ONNX Frontend

* Fixed paddle

* Fixed exceptions in tests

* Deprecate constructors for ov::Exception

* Suppress some warnings

* Merge several exceptions

* Some small changes

* Suppress more warnings

* More warnings

* mode warnings

* Suppress more warnings

* More warnings
This commit is contained in:
Ilya Churaev
2023-04-18 21:02:26 +04:00
committed by GitHub
parent 441dad2eea
commit 566ef01a3f
251 changed files with 834 additions and 649 deletions

View File

@@ -494,7 +494,7 @@ static inline void fill_tensor_random(ov::Tensor tensor) {
fill_random<uint8_t, uint32_t>(tensor, 0, 1);
break;
default:
throw ov::Exception("Input type is not supported for a tensor");
OPENVINO_THROW("Input type is not supported for a tensor");
}
}