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-150) Need a policy about missing or incompatible units
Date Sun, 01 Dec 2013 21:03:35 GMT
Martin Desruisseaux created SIS-150:
---------------------------------------

             Summary: Need a policy about missing or incompatible units
                 Key: SIS-150
                 URL: https://issues.apache.org/jira/browse/SIS-150
             Project: Spatial Information Systems
          Issue Type: Sub-task
          Components: Metadata, Referencing
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Priority: Minor


In current SIS version, unmarshalling of {{DefaultPrimeMeridian}} or {{DefaultEllipsoid}}
object with missing or wrong units will throw a {{NullPointerException}} or {{ClassCastException}}
at unmarshalling time. We need to either provide some mechanism for emitting a warning and
set a default value (is a default value really desired? it may be dangerous), or wrap the
above exception into something more informative.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message