Class AnalysisException
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
innerExceptionExceptionThe exception that is the cause of the current exception. If the
innerExceptionparameter 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
messagestringA 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)