objective c - Exception reporting frameworks for Cocoa -


Is there any framework that captures and reports exceptions? I have some things that require errors due to an exception or my program, while it is used by a non-technical user and then email me. Do you handle it on your own projects? Have you rolled your own solution or is the shelf solution closed?

Any help would be greatly appreciated.

"Oops" for some time is running, on the contrary, Programmer error Exceptions for denoting are usually used in cocoa.

Exemplary example of the former: If you are trying to access the 50 elements of NSArray of 10 elements, then out of bounds is generated by this programmer There is an error as you should not let this happen.

The classic example of the latter: You try to read from a disk file but the file is missing. This is not an extraordinary case, the task of reading the file is somewhat normal, and thus the exception should not be thrown (this is to recover it properly from your job as a Coca developer, and so on It is not very difficult to do). / P>

Keep this in mind when using exceptions in cocoa, especially if they are going to user-facing.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -