public static void IfFalseThenThrow <T, TException>(this BooleanVal <T> @this, Dictionary <string, IArgDescriptionVal> exceptionParams) where TException : Exception
 {
     @this.IfFalse(_ => ExceptionBuilder.Create <TException>().BuildAndThrow(exceptionParams));
 }
 /// <summary>
 /// If false then throw exception
 /// </summary>
 /// <param name="this"></param>
 /// <param name="exceptionFunc"></param>
 public static void IfFalseThenThrow <T>(this BooleanVal <T> @this, Func <T, Exception> exceptionFunc)
 {
     @this.IfFalse(val => ExceptionHelper.PrepareForRethrow(exceptionFunc.Invoke(val)));
 }
 public static void IfFalseThenThrow <T, TException>(this BooleanVal <T> @this) where TException : Exception
 {
     @this.IfFalse(_ => ExceptionBuilder.Create <TException>().BuildAndThrow());
 }
 /// <summary>
 /// If false then throw exception
 /// </summary>
 /// <param name="this"></param>
 /// <param name="exception"></param>
 public static void IfFalseThenThrow <T>(this BooleanVal <T> @this, Exception exception)
 {
     @this.IfFalse(_ => ExceptionHelper.PrepareForRethrow(exception));
 }