The forum will be down for maintenance at some point from Friday, November 16 at 19:00 EDT until Sunday, November 18 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

Martin
8.6k119153237
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.
Thanks!

permanent link

answered 30 Jun '15, 03:07

Martin's gravatar image

Martin
8.6k119153237
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×61

question asked: 11 Mar '14, 04:55

question was seen: 875 times

last updated: 30 Jun '15, 03:07