You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2016/10/07 18:16:20 UTC

[jira] [Updated] (METRON-490) Stellar - Validation of Required Parameters

     [ https://issues.apache.org/jira/browse/METRON-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Allen updated METRON-490:
------------------------------
    Description: 
Currently, each Stellar function handles validation of required function parameters in its own way.  In some cases, we have functions that throw an IndexOutOfBoundsException, in other cases the function will produce its own error message and exception.

There needs to be a standard mechanism to validate required function parameters.  This mechanism should handle missing parameters gracefully and provide an error message that makes sense to a user.

  was:
Currently, each Stellar function handles validation of required function parameters in its own way.  In some cases, we have functions that would throw an IndexOutOfBoundsException, in other cases the function will produce its own error message and exception.

There needs to be a standard mechanism to validate required function parameters.  This mechanism should handle missing parameters gracefully and provide an error message that makes sense to a user.


> Stellar - Validation of Required Parameters
> -------------------------------------------
>
>                 Key: METRON-490
>                 URL: https://issues.apache.org/jira/browse/METRON-490
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>
> Currently, each Stellar function handles validation of required function parameters in its own way.  In some cases, we have functions that throw an IndexOutOfBoundsException, in other cases the function will produce its own error message and exception.
> There needs to be a standard mechanism to validate required function parameters.  This mechanism should handle missing parameters gracefully and provide an error message that makes sense to a user.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)