Handle an exception not converted to a specific type based on the SQLState.
Namespace: NHibernate.ExceptionsAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static ADOException HandledNonSpecificException( Exception sqlException, string message, string sql ) |
Visual Basic |
---|
Public Shared Function HandledNonSpecificException ( _ sqlException As Exception, _ message As String, _ sql As String _ ) As ADOException |
Visual C++ |
---|
public: static ADOException^ HandledNonSpecificException( Exception^ sqlException, String^ message, String^ sql ) |
Parameters
- sqlException
- Type: System..::..Exception
The exception to be handled.
- message
- Type: System..::..String
An optional message
- sql
- Type: System..::..String
Optionally, the sql being performed when the exception occurred.