Method | Description | |
---|---|---|
CheckForException ( Exception exception, string exceptionMessagePrefix ) : void |
Validated whether a non-null exception is provided and throws InvocationAssertionException with proper message.
|
|
CheckForNullException ( Exception exception, string exceptionMessagePrefix ) : void |
Method | Description | |
---|---|---|
FormatExceptionMessage ( string message ) : string |
public static CheckForException ( Exception exception, string exceptionMessagePrefix ) : void | ||
exception | Exception | Exception to be validated. |
exceptionMessagePrefix | string | Prefix to put in front of the exception message. |
return | void |
public static CheckForNullException ( Exception exception, string exceptionMessagePrefix ) : void | ||
exception | Exception | |
exceptionMessagePrefix | string | |
return | void |