Adding Error Handling

[Solved] Adding Error Handling | Vb - Code Explorer | yomemimo.com
Question : Adding error handling

Answered by : pragya-keshap

{"tags":[{"tag":"textarea","content":"@ResponseStatus(UNPROCESSABLE_ENTITY)\n@ExceptionHandler(InvalidInputException.class)\npublic @ResponseBody HttpErrorInfo handleInvalidInputException(\n ServerHttpRequest request, InvalidInputException ex) {\n\n return createHttpErrorInfo(UNPROCESSABLE_ENTITY, request, ex);\n}\n","code_language":"java"}]}

Source : | Last Update : Fri, 24 Feb 23

Answers related to adding error handling

Code Explorer Popular Question For Vb