The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

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: 715 times

last updated: 30 Jun '15, 03:07