ActiveReports 13
CompressionException Constructor(String,Exception)

GrapeCity.ActiveReports.Export.Excel Assembly > GrapeCity.SpreadBuilder Namespace > CompressionException Class > CompressionException Constructor : CompressionException Constructor(String,Exception)
A message that describes the error.
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the CompressionException class with the specified error message and a reference to the inner exception that is the cause of this exception. 
Syntax
'Declaration
 
Public Function New( _
   ByVal sMessage As String, _
   ByVal oInnerException As Exception _
)
public CompressionException( 
   string sMessage,
   Exception oInnerException
)

Parameters

sMessage
A message that describes the error.
oInnerException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
See Also

Reference

CompressionException Class
CompressionException Members
Overload List