Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Why is exception not thrown in AseCommand when "Truncation error occurred"?

$
0
0

Dawn,

 

Does this then process all messages whatever the severity ?

 

In our InfoHandler we have to then work through the AseErrorCollection list and process all the messages. And then we if any of them are Severity > 10 we throw the exception up the stack otherwise the errors aren't dealt with properly. It could be were not doing this right - is there a good guide of the best practice ?

 

Dave, in general I'd say ignore any severity of 0 as you can get a lot of them depending on what you're doing.

 

JDBC has different handlers for Errors and messages which simplifies things a little.

 

Mike


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>