nserror
How to bubble error object across several methods?
This is more of a C question but here it goes. I\'ve a method that receives as a parameter the address of a pointer to an NS开发者_运维知识库Error object. Now, that method is buried several levels de[详细]
2023-01-31 01:42 分类:问答AVAudioPlayer interrupting playback with audioPlayerDecodeErrorDidOccur, with NSOSStatusErrorDomain -50
In very specific, but reproducible cases, I\'m getting audioPlayerDecodeErrorDidOccur:error: with the following NSError:[详细]
2023-01-29 12:17 分类:问答Problem passing NSError back as a return parameter
I am having a problem passing an NSError object back.The first line of code to access the object (in this case, I inserted an NSLog) causes \"EXC_BAD_ACCESS\".[详细]
2023-01-28 11:01 分类:问答How to get the NSError message in iOS?
I am having the me开发者_开发百科thod in my view controller as shown below: - (void)parser:(PaymentTermsLibxmlParser *)parser encounteredError:(NSError *)error[详细]
2023-01-10 18:06 分类:问答Javascript error in jssh in Firefox 4.0b1
Using this Javascript through jssh compiled and built for the new Firefox 4.0 beta 1 returns an odd message. Here is the code (sorry if it\'s a little messy).[详细]
2023-01-09 15:38 分类:问答NSURL Error Handling
my app is supposed to make a request from a server every 10 seconds or so with a specific url, change some attributes in the url, and then show the request in another view called \"updateView\" or if[详细]
2023-01-09 04:59 分类:问答Best Practice - NSError domains and codes for your own project/app
There is a previous SO post regarding setting up error domains for your own frameworks, but what is the best practice regarding setting up error domains and custom error codes for your own project/app[详细]
2023-01-07 14:56 分类:问答Converting Java to Objective-C: Exception Handling
I\'m converting a Java library to Objective-C. The Java code uses exceptions flagrantly (to my Objective-C accustomed mind).开发者_Go百科 When converting, should I be throwing Objective-C exceptions ([详细]
2023-01-07 08:56 分类:问答NSString fails, app crashes trying to NSLog the NSError
What it says on the tin. All I want t开发者_运维技巧o do is save an NSString to a .txt file in my Documents directory so it can be accessed by the user. This is called in applicationWillTerminate:[详细]
2023-01-07 04:41 分类:问答NSURLErrorDomain error -3001
I\'m trying to download a file from the internet, but I get the error -3001 back. I\'ve been searching through google but the error doesn\'t appear on any website, so i have no 开发者_开发知识库idea w[详细]
2023-01-01 09:59 分类:问答