Table of Contents

Class AnalysisException

Namespace
NDepend.Analysis
Assembly
NDepend.API.dll

The exception that is thrown when an analysis related operation fails.

public sealed class AnalysisException : ApplicationException, ISerializable
Inheritance
AnalysisException
Implements
Inherited Members
Extension Methods

Remarks

Methods potentially throwing this exception are:
ExtensionMethodsProjectAnalysis.RunAnalysisAndBuildReport(IProject, string)
ExtensionMethodsProjectAnalysis.RunAnalysis(IProject, string)
IAnalysisResultRef.Load()

Constructors (3)

AnalysisException(Exception)

Initializes a new instance of the AnalysisException class with a reference to the inner exception that is the cause of this exception.

public AnalysisException(Exception innerException)

Parameters

innerException Exception

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.

AnalysisException(string)

Initializes a new instance of the AnalysisException class with a specified error message.

public AnalysisException(string message)

Parameters

message string

A message that describes the error.

AnalysisException(string, Exception)

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

public AnalysisException(string message, Exception innerException)

Parameters

message string

A message that describes the error.

innerException Exception

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.