alienhunter Active Member Licensed User Longtime User Dec 30, 2013 #1 Hi Erel , once again how do i catch this exception from the mysql it show only in the log but i need to tell the user what is wrong ... example com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '5650-cv-007-semi-before-edm.html' for key 'ncpgm' the only error is in the Job done Log("Error: " & Job.ErrorMessage) not really helpfull thanks AH Attachments rdc.jpg 71.8 KB · Views: 529 rdc2.jpg 34.3 KB · Views: 492
Hi Erel , once again how do i catch this exception from the mysql it show only in the log but i need to tell the user what is wrong ... example com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '5650-cv-007-semi-before-edm.html' for key 'ncpgm' the only error is in the Job done Log("Error: " & Job.ErrorMessage) not really helpfull thanks AH
Erel B4X founder Staff member Licensed User Longtime User Dec 30, 2013 #2 You will need to modify HttpUtils2Service. You need to add the server response to the error message. Upvote 0
alienhunter Active Member Licensed User Longtime User Dec 30, 2013 #3 Erel said: You will need to modify HttpUtils2Service. You need to add the server response to the error message. Click to expand... not sure how to ....small hint never had the time to explore how to .. but anyway Happy New Year ... let's drink until we look like this ... Upvote 0
Erel said: You will need to modify HttpUtils2Service. You need to add the server response to the error message. Click to expand... not sure how to ....small hint never had the time to explore how to .. but anyway Happy New Year ... let's drink until we look like this ...
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2013 #4 HttpUtils2 project is attached. You can use it instead of the library. Attachments HttpUtils2.zip HttpUtils2.zip 3.3 KB · Views: 475 Upvote 0
alienhunter Active Member Licensed User Longtime User Dec 31, 2013 #5 Erel said: HttpUtils2 project is attached. You can use it instead of the library. Click to expand... Thank you very much , now i understand it you made my day ... AH Upvote 0
Erel said: HttpUtils2 project is attached. You can use it instead of the library. Click to expand... Thank you very much , now i understand it you made my day ... AH