tkalkirill commented on code in PR #1505:
URL: https://github.com/apache/ignite-3/pull/1505#discussion_r1065572992
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/StorageException.java:
##########
@@ -46,6 +51,16 @@ public StorageException(String message, Throwable cause) {
* @param cause The cause.
*/
public StorageException(Throwable cause) {
- super(cause);
+ super(Storage.GENERIC_ERR, cause);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param code Error code.
Review Comment:
```suggestion
* @param code Full error code.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]