C# Класс NFluent.Helpers.ExceptionHelper

Offer factory services to get adequate exception type depending on testing framework.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ExceptionScanner ExceptionConstructor

Открытые методы

Метод Описание
BuildException ( string theMessage ) : Exception

Builds an exception with the given message. Automatically detect the exception type to use depending on the used check framework.

DumpInnerExceptionStackTrace ( Exception exception ) : string

Return a string containing the complete stack trace of the InnerExceptions for the given Exception.

Приватные методы

Метод Описание
ExceptionScanner ( string assemblyMarker, string nameSpace, string assertionExceptionName, string ignoreExceptionName, string inconclusiveExceptionName ) : ExceptionConstructor

Описание методов

BuildException() публичный статический Метод

Builds an exception with the given message. Automatically detect the exception type to use depending on the used check framework.
public static BuildException ( string theMessage ) : Exception
theMessage string The message to build the exception with.
Результат System.Exception

DumpInnerExceptionStackTrace() публичный статический Метод

Return a string containing the complete stack trace of the InnerExceptions for the given Exception.
public static DumpInnerExceptionStackTrace ( Exception exception ) : string
exception System.Exception The exception.
Результат string