OK, done.



Regards,

Benjamin Jakobus
                                                                                       
                                                                                       
                                                                                       
 E-mail: BENJAMIJ@ie.ibm.com                                                           
                                                                                       





From:	Carlos Manias Díez <notifications@github.com>
To:	OpenNTF/SocialSDK <SocialSDK@noreply.github.com>,
Cc:	Benjamin Jakobus/Ireland/IBM@IBMIE
Date:	28/04/2014 16:00
Subject:	Re: [SocialSDK] Refacored the BlogService (#1439)



In
sdk/com.ibm.sbt.core/src/main/java/com/ibm/sbt/services/client/connections/blogs/BlogService.java:


> @@ -513,10 +377,9 @@ public Blog createBlog(Blog blog) throws
BlogServiceException {
>
>  		 		 		 String createBlogUrl =
BlogUrls.MY_BLOGS.format(this, BlogUrlParts.blogHandle.get
(defaultHomepageHandle));
>  		 		 		 result = createData(createBlogUrl,
null, headers, payload);
> -		 		 		 blog = (Blog) new BlogsFeedHandler
(this).createEntity(result);
> -
> +		 		 		 blog = getBlogFeedHandler
().createEntity(result);
>  		 		 } catch (Exception e) {



Maybe you can catch IOException here so that the exception wrapped on the
ClientServicesException is more specific? Do the same in other instances
where this happens, as well, please


—
Reply to this email directly or view it on GitHub.