Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

MappingException Constructor (String, Nullable<(Of <(<'Exception>)>)>)

Initializes a new instance of the MappingException class.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public MappingException(
	string message,
	Nullable<Exception> innerException
)
Public Sub New ( _
	message As String, _
	innerException As Nullable(Of Exception) _
)
public:
MappingException(
	String^ message, 
	Nullable<Exception^> innerException
)

Parameters

message
Type: String
The error message that explains the reason for the exception.
innerException
Type: Nullable<(Of <(<'Exception>)>)>
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.