Constructs a new exception object with the given message, object's catalog, exception number, the severity and the object's inserts.

C# | Visual Basic | Visual C++ | F# |
public NBSqlException( string message, string catalog, long number, NBSeverity severity, params Object[] inserts )
Public Sub New ( _ message As String, _ catalog As String, _ number As Long, _ severity As NBSeverity, _ ParamArray inserts As Object() _ )
public: NBSqlException( String^ message, String^ catalog, long long number, NBSeverity severity, ... array<Object^>^ inserts )
new : message:string * catalog:string * number:int64 * severity:NBSeverity * inserts:Object[] -> NBSqlException

- message (String)
- The error message that explains the reason for the exception
- catalog (String)
- The catalog that contains message number.
- number (Int64)
- The exception number.
- severity (NBSeverity)
- The severity of the exception.
- inserts (array<Object>[]()[][])
- The exception inserts.