B4J Question RDC SQL ERROR MESSAGES

alienhunter

Active Member
Licensed User
Longtime User
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
    rdc.jpg
    71.8 KB · Views: 225
  • rdc2.jpg
    rdc2.jpg
    34.3 KB · Views: 197

alienhunter

Active Member
Licensed User
Longtime User
You will need to modify HttpUtils2Service. You need to add the server response to the error message.

:( not sure how to ....small hint :oops: never had the time to explore how to ..


but anyway Happy New Year ...

let's drink until we look like this ...o_O
:oops:
 
Upvote 0
Top