[Sparkle] RSSDownloadFailed Exception Catching?

Adhamh Findlay adhamh at mac.com
Fri Feb 29 09:06:11 PST 2008


Hello,

My app is using sparkle.  When I turn off my network connections,  
sparkle throws an RSSDownloadException when my app starts up.  I'd  
like to catch this exception instead of just ignoring it.

Right now I've got a menu item to check for updates that is bound to  
this method:

- (IBAction) checkForSoftwareUpdates: (id) sender;
{
	// check network status, if okay proceed.
	if ( [monitorNetwork isNetworkActive] == NO ) {
		[monitorNetwork displayNetworkDownSheetForWindow: [self window]];
	} else {
		SUUpdater *updater = [[[SUUpdater alloc] init] autorelease];
		[updater checkForUpdates: sender];
	}
}

However, the exception happens before this method is invoked, so I  
can't catch it here.

Can someone tell me where I should catch this exception or how I can  
otherwise prevent it from getting logged?

Thanks,

Adhamh



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080229/adca5288/attachment.htm 


More information about the Sparkle mailing list