You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2021/05/17 20:54:00 UTC

[jira] [Closed] (NLPCRAFT-320) All methods which convert JSON should throw NCException

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

Sergey Kamov closed NLPCRAFT-320.
---------------------------------

> All methods which convert JSON should throw NCException
> -------------------------------------------------------
>
>                 Key: NLPCRAFT-320
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-320
>             Project: NLPCraft
>          Issue Type: Task
>          Components: probe, server
>            Reporter: Sergey Kamov
>            Assignee: Sergey Kamov
>            Priority: Major
>             Fix For: 0.8.0
>
>
> All methods which convert JSON (like org.apache.nlpcraft.common.util.NCUtils#jsonToObject) should throw NCException, 
> otherwise when invalid JSON provided via REST - we have internal error but not valid error code and message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)