Initializes object by specified error message and inner exception object.

Namespace: Spire.Pdf.Exceptions
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfDocumentException(
	string message,
	Exception innerException
)
Public Sub New ( 
	message As String,
	innerException As Exception
)
public:
PdfDocumentException(
	String^ message, 
	Exception^ innerException
)
new : 
        message : string * 
        innerException : Exception -> PdfDocumentException

Parameters

message
String
User defined error message.
innerException
Exception
The inner exception.

See Also