Uploaded image for project: 'NLPCraft'
  1. NLPCraft
  2. NLPCRAFT-320

All methods which convert JSON should throw NCException

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            sergeykamov Sergey Kamov
            sergeykamov Sergey Kamov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: