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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user