Hi,

On Jul 17, 2013, at 9:59 PM, Matthias Wessendorf <matzew@apache.org> wrote:

Hi,

looking here:
https://github.com/aerogear/aerogear-push-ios-registration/blob/master/push-sdk/AGDeviceRegistration.m#L59-L65

I am wondering if we should really throw an expensive exception (since they are pretty uncommon in iOS land).

Instead I think I'd prefer invoking the given failure callback, with a meaningful Error.

+1, since a failure block is in the signature of the method, we can use it to signify the error.

If it's ok I will go ahead and create a ticket for this.

Thanks
Christos



any thoughts?

-Matthias

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev