• 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
Over-riding handleException?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Over-riding handleException?


  • Subject: Over-riding handleException?
  • From: Jonathan Rochkind <email@hidden>
  • Date: Thu, 13 Mar 2003 18:09:56 -0600

When over-riding handleException on WOApplication, to provide a custom exception page, and I want to return a component response... what's the proper way to instantiate the component? WOApplication.pageWithName? Should I pass in the context as argument to pageWithName that was the argumetn to handleException?

handleException requires a WOResponse return value. Should I simply call generateResponse on my component instance and return that?

Thanks for any advice,
--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Using IBM's DB2/UDB with WO 5.2?
  • Next by Date: Re: Over-riding handleException?
  • Previous by thread: Re: Using IBM's DB2/UDB with WO 5.2?
  • Next by thread: Re: Over-riding handleException?
  • Index(es):
    • Date
    • Thread