• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException


  • Subject: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
  • From: Ramsey Lee Gurley <email@hidden>
  • Date: Tue, 18 Nov 2008 14:43:57 -0500

Okay, so I've tried this twice now, and both bounced immediately. I hope three of these don't show up on the list, but I think the problem must have been how my mobileme System preference automatically set up my email account's reply address. Trying one more time...

On Nov 17, 2008, at 4:20 PM, Mike Schrag wrote:

That's the guy behind the famous "Don’t swallow", right?
This is slightly different, though ... I think everyone's onboard with not swallowing exceptions.


Umm, I'm a little vague on that point personally... I was recently asked not to swallow exceptions when submitting a patch, but frankly... I've heard of it, but I'm not sure what that means. I read the wiki-page on exception handling...

http://wiki.objectstyle.org/confluence/display/WO/Handling+Errors+and+Exceptions**

So... I'm still a little confused :)

I'm talking about chaining exceptions appropriately. But the problem is that if you only throw RuntimeExceptions, the people below you have no idea what you might throw and therefore have no idea when they need to catch and rethrow, which makes it kind of weird trying to do this effectively with only Runtimes. So my comment about Chuck was that he doesn't agree with CHECKED exceptions.


Reading this thread, am I to understand that "don't swallow" means "always throw" and logging is always unacceptable? If so, what is convention? Do I throw a wrapped exception in a NSForwardException or something similar?

Inquiring minds...

Ramsey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
      • From: Chuck Hill <email@hidden>
References: 
 >NSMacOSRomanStringEncoding UnsupportedEncodingException (From: David Avendasora <email@hidden>)
 >Re: NSMacOSRomanStringEncoding UnsupportedEncodingException (From: Mike Schrag <email@hidden>)
 >Re: NSMacOSRomanStringEncoding UnsupportedEncodingException (From: Pascal Robert <email@hidden>)
 >Re: NSMacOSRomanStringEncoding UnsupportedEncodingException (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Problems with a fetch
  • Next by Date: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
  • Previous by thread: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
  • Next by thread: Re: NSMacOSRomanStringEncoding UnsupportedEncodingException
  • Index(es):
    • Date
    • Thread