Sergey Kamov created NLPCRAFT-320:
-------------------------------------

             Summary: 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: Aaron Radzinski
             Fix For: 0.9.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)

Reply via email to