ReportException Constructor(String,Exception)
Initializes a new instance of the ReportException class with the specified error message and a reference to the inner exception that is the cause of this exception.
C# Syntax
public ReportException( 
   string message,
   Exception exception
)

Parameters

message
The error message with the reason for this exception.
exception
The inner exception that caused this exception.