You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Aaron Radzinski (Jira)" <ji...@apache.org> on 2021/05/17 20:46:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17346427#comment-17346427 ]
Aaron Radzinski commented on NLPCRAFT-320:
------------------------------------------
Ready to merge.
> 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)