[
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)