From f9fcfea80f10b97f4d303d3888c75d036068249f Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Wed, 20 Sep 2017 10:36:44 +0800
Subject: [PATCH] [Update] WAFbImpl (3.6.5.1)

---
 frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h b/frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h
index a403553..18810bc 100644
--- a/frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h
+++ b/frameworks/Bolts.framework/Headers/BFTaskCompletionSource.h
@@ -49,8 +49,11 @@
  Completes the task by setting an exception.
  Attempting to set this for a completed task will raise an exception.
  @param exception The exception for the task.
+ 
+ @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
  */
-- (void)setException:(NSException *)exception;
+- (void)setException:(NSException *)exception
+__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
 
 /*!
  Completes the task by marking it as cancelled.
@@ -75,8 +78,11 @@
  Sets the exception of the task if it wasn't already completed.
  @param exception The exception for the task.
  @returns whether the new value was set.
+ 
+ @deprecated `BFTask` exception handling is deprecated and will be removed in a future release.
  */
-- (BOOL)trySetException:(NSException *)exception;
+- (BOOL)trySetException:(NSException *)exception
+__attribute__((deprecated("`BFTask` exception handling is deprecated and will be removed in a future release.")));
 
 /*!
  Sets the cancellation state of the task if it wasn't already completed.

--
Gitblit v1.8.0