A SQLExceptionConverter implementation which performs no conversion of
the underlying DbException.
Interpretation of a SQL error based on DbException
is not possible as using the ErrorCode (which is, however, vendor-
specific). Use of a ErrorCode-based converter should be preferred approach
for converting/interpreting SQLExceptions.
Namespace: NHibernate.ExceptionsAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public class SQLStateConverter : ISQLExceptionConverter |
Visual Basic |
---|
Public Class SQLStateConverter _ Implements ISQLExceptionConverter |
Visual C++ |
---|
public ref class SQLStateConverter : ISQLExceptionConverter |