ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Kuznetsov <stku...@gmail.com>
Subject Re: Assertions as binary data validation checks in deserialization
Date Thu, 27 Jul 2017 19:55:43 GMT
Indeed, "let it crash" approach is better than unclear error in some
indeterminate place later. Here we depend on data from "inpredictable"
source, so assertions are not suitable.

27 июля 2017 г. 22:35 пользователь "Valentin Kulichenko" <
valentin.kulichenko@gmail.com> написал:

Do you suggest to throw an exception instead of assertions?

-Val

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message