C# 클래스 NFluent.Helpers.ExceptionHelper

Offer factory services to get adequate exception type depending on testing framework.
파일 보기 프로젝트 열기: tpierrain/NFluent

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