How to avoid exceptions when decoding incomprehensible archives
How to avoid exceptions when decoding incomprehensible archives
- Subject: How to avoid exceptions when decoding incomprehensible archives
- From: Markus Spoettl <email@hidden>
- Date: Wed, 26 Feb 2014 22:44:18 +0100
Hello,
is there a way to stop NSKeyedArchiver from bombing out with an exception,
crashing the app along with it, when it tries to decode an archive that it deems
incomprehensible?
From time to time we get support requests about crashes that originate
basically in damaged archives (binary encoded). It would be much nicer if there
would be a graceful way of handling this. Is an exception handler the only way
to do that?
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden