#1 2015-07-16 00:17:06

ericgarcia
Member
Registered: 2015-06-11
Posts: 9

Sample 16 - get the exception message

hello,

I am trying the sample 16 , connected to an oracle server.
when  an error is raised , a showexception method  is raised and message box show , with Json wrapped message.
how to get this  json message in an exception try/ except .

thanks

Offline

#2 2015-07-16 15:14:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: Sample 16 - get the exception message

The easiest is not to rely on exception for current errors, but use your own enumeration for results, with an associated textual/variant error information.

See http://synopse.info/files/html/Synopse% … l#TITL_165

Offline

Board footer

Powered by FluxBB