Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

In .net all other database client access techniques use DBException as the base for the individual XXXException, only SAException is inherited from Exception. This makes it very difficult in a program using mixed client access technologies to catch a database exception accordingly. For example the DBException provides a general ErrorCode property, which is legacy named NativeError for SAException...

asked 11 Mar '14, 04:55

Martin's gravatar image

accept rate: 14%

The documentation still reads:

public class SAException : System.Exception

but the a current SQLA 16 assembly now says:

public class SAException : System.Data.Common.DbException

so obviously my product suggestion was implemented.

permanent link

answered 30 Jun '15, 03:07

Martin's gravatar image

accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Mar '14, 04:55

question was seen: 1,789 times

last updated: 30 Jun '15, 03:07