chaokunyang commented on code in PR #3434:
URL: https://github.com/apache/fory/pull/3434#discussion_r2867271702
##########
dart/packages/fory/lib/src/exception/deserialization_exception.dart:
##########
@@ -147,3 +147,22 @@ class UnsupportedTypeException extends ForyException {
buf.writeln(_objType);
}
}
+
+class DeserializationSizeException extends DeserializationException {
Review Comment:
We dont' need so many special exception. Could you create a
`InvalidDataException` in
dart/packages/fory/lib/src/exception/fory_exception.dart?
Adn open anoterh PR to merge all excpetions into one file name
fory_exception.dart under dart/packages/fory/lib/src/ dir? Current fory dart is
too java style
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]