cancel
Showing results for 
Search instead for 
Did you mean: 

Product suggestion: inherit SAException from DBException

MCMartin
Participant
1,903

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...

Accepted Solutions (1)

Accepted Solutions (1)

MCMartin
Participant

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!

Answers (0)