Constructs a new exception object with the given message,exception number, severity and the inner exception.

C# | Visual Basic | Visual C++ | F# |
public NBDatabaseException( string message, long number, NBSeverity severity, Exception inner )
Public Sub New ( _ message As String, _ number As Long, _ severity As NBSeverity, _ inner As Exception _ )
public: NBDatabaseException( String^ message, long long number, NBSeverity severity, Exception^ inner )
new : message:string * number:int64 * severity:NBSeverity * inner:Exception -> NBDatabaseException

- message (String)
- The error message that explains the reason for the exception.
- number (Int64)
- The exception number.
- severity (NBSeverity)
- The severity of the exception.
- inner (Exception)
- An instance of exception that describes the error that caused the current exception.