'UsageDim message As String Dim instance As New Exception2(message)
Parameters
- message
- The value of this parameter cannot be - null(- Nothingin Visual Basic).
 
            The value of this parameter cannot be null (Nothing in Visual Basic).
'UsageDim message As String Dim instance As New Exception2(message)
The value of this parameter cannot be null (Nothing in Visual Basic).
| Exception | Description | 
|---|---|
| System.ArgumentNullException | 
            A  This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |