• 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: How to start pageForException?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to start pageForException?


  • Subject: Re: How to start pageForException?
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 24 May 2006 17:05:09 -0700

Yes, it is not overflowing with documentation. But, the source is on your machine at
/Developer/Examples/JavaWebObjects/Source/JavaWOExtensions/ WOLongResponsePage.java
/Developer/Examples/JavaWebObjects/Source/JavaWOExtensions/ WOLongResponsePage.wo


Perhaps you can figure it out from that or make a subclass to generate the errors for your testing purposes.

Chuck

On May 24, 2006, at 3:20 PM, Scott Winn wrote:

Hello all,

I am in the middle of checking my error code in a WOLongResponse component. I have a built a component for pageForException to call but I'm not sure how it will ever get called. There is some behind the scenes mojo that gets pageForResponse to come up. It must be the same situation for pageForException, but I need it to die and give me my exception page on errors that I deem fatal.

I can't throw an exception from performAction(). I don't know what else to try. The documentation is pretty scant. I've looked at the LongResponse example and I can't find anything that seems to apply.

Thanks,

Scott

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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
References: 
 >How to start pageForException? (From: Scott Winn <email@hidden>)

  • Prev by Date: Re: Alternative to Cookie during a Session Timeout
  • Next by Date: Re: Alternative to Cookie during a Session Timeout
  • Previous by thread: How to start pageForException?
  • Next by thread: Adding "class" attribute to ModalWindow popup?
  • Index(es):
    • Date
    • Thread