NDoc 1.3.1 SDK |

# DocumenterException Constructor (String, Exception)

Initializes a new instance of the DocumenterException class with a specified error message and a reference to the inner exception that is the root cause of this exception.

    [Visual Basic]
    Public Sub New( _
       ByVal message As String, _
       ByVal inner As Exception _
    )
    [C#]
    public DocumenterException(
       string message,
       Exception inner
    );
    [C++]
    public: DocumenterException(
       String* message,
       Exception* inner
    );
    [JScript]
    public function DocumenterException(
       String message,
       Exception inner
    );

#### Parameters

message
  The error message that explains the reason for the exception.
inner
  An instance of Exception that is the cause of the current Exception. If inner is non-null, then the current Exception is raised in a catch block handling the inner exception.

#### See Also

DocumenterException Class | NDoc.Core Namespace | DocumenterException Constructor Overload List