sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-460) Improve exception handling in filters
Date Mon, 10 Jun 2019 14:19:00 GMT
Martin Desruisseaux created SIS-460:
---------------------------------------

             Summary: Improve exception handling in filters
                 Key: SIS-460
                 URL: https://issues.apache.org/jira/browse/SIS-460
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Features, Storage
            Reporter: Martin Desruisseaux


In current {{org.apache.sis.filter}} implementation, failure to evaluate an expression are
caught and logged, then {{null}} is returned. For example if the evaluation of A+B fail with
an integer overflow, the {{ArithmeticException}} is caught and {{null}} is returned. We should
probably revisit this policy, maybe by letting the exception propagate.

The caught exceptions can be located by searching usage of {{Node.warning(Exception)}} method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message