• 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
Distributed Object, exception failure not handled properly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Object, exception failure not handled properly


  • Subject: Distributed Object, exception failure not handled properly
  • From: George Lawrence Storm <email@hidden>
  • Date: Fri, 6 Jan 2006 14:11:57 -0800

I am using Distributed Objects to communicate in a client/server model. Everything is working as expected in normal use.

I am currently working on testing my exceptions, in the case of one exception (server unavailable) I am getting a failure (56) which is bailing out of my program without being caught in my handler.

Is there a workaround (possibly a pre-test), or am I wrapping this improperly?

    NS_DURING
        // Get the proxy
        proxy = [[connection rootProxy] retain]; // failure line
	...
    NS_HANDLER
        ...
    NS_ENDHANDLER

-----

George Lawrence Storm
Macintosh Applications Development
Edmonds (Seattle), Washington
E-mail: <email@hidden>

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


  • Prev by Date: Core Data: Unable to store a NSData object into an entity's binary property.
  • Next by Date: NSTextView unarchived from nib missing pointing hand cursor over links?
  • Previous by thread: Re: Core Data: Unable to store a NSData object into an entity's binary property.
  • Next by thread: Re: Distributed Object, exception failure not handled properly
  • Index(es):
    • Date
    • Thread