ptupitsyn commented on code in PR #4142:
URL: https://github.com/apache/ignite-3/pull/4142#discussion_r1722868683


##########
modules/api/src/main/java/org/apache/ignite/marshalling/UnsupportedObjectTypeMarshallingException.java:
##########
@@ -27,16 +27,21 @@
 public class UnsupportedObjectTypeMarshallingException extends IgniteException 
{
     private static final long serialVersionUID = -8131613381875542450L;
 
+
     /**
      * Creates an exception with the given unsupported type.
      *
      * @param unsupportedType Unsupported type.
      */
     public UnsupportedObjectTypeMarshallingException(Class<?> unsupportedType) 
{
-        super(
-                Marshalling.UNSUPPORTED_OBJECT_TYPE_ERR,
-                "Unsupported object type: " + unsupportedType.getName() + ". 
Please, define the marshaller that can handle this type."
-        );
+        this("Unsupported object type: " + unsupportedType.getName() + ". 
Please, define the marshaller that can handle this type.");

Review Comment:
   ```suggestion
           this("Unsupported object type: " + unsupportedType.getName() + ". 
Please, define a marshaller that can handle this type.");
   ```



-- 
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]

Reply via email to