Dinms,
Situation is a little bit more complex then this. See my posting
"New Source Interface & Exception Handling Issues".
The problem is in SAXException which wraps FileNotFoundException.
I think it is needed to add "throws ProcessingException" to toSAX method and
analyze exception in XXXXXSource.toSAX method(s) and throw ProcessingException
or ResourceNotFoundException from within body of this method.
Vadim
> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 06, 2001 7:14 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [C2][VOTE] Sync C2.0 and C2.1 branches
>
>
> Vadim,
>
> Please ignore my previous e-mail....I think the inputSource is now being resolved in
>setup() can
> you please add additional code there to throw ResourceNotFoundException?
>
> Thanks,
> dims
>
> --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote:
> > Dims,
> >
> > I'm not sure is it yours mistake or somebody's else, but:
> >
> > Correct exception handling is vanished from (at least) FileGenerator,
> > and may be from some other places (did not cvecked rest).
> > The problem is that instead of ResourceNotFoundException,
> > SAXException is thrown back in sitemap (and processed by 500
> > error handler instead of 404).
> >
> > Previously, FileNotFoundException were cought by generator.
> > Now, this piece of code is gone and FileNotFoundException is
> > wrapped into SAXException.
> >
> > Vadim
> >
> >
> > > -----Original Message-----
> > > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, September 05, 2001 6:29 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [C2][VOTE] Sync C2.0 and C2.1 branches
> > >
> > >
> > > Team,
> > >
> > > First round of Sync is done.....The "core" should be exactly the same.
>Experimental components
> > and
> > > samples are left out of C2.0. Here's a list of the items that are only in C2.1
>and NOT in C2.0
> > >
> > > 1) SiteBuilder Samples
> > > 2) SOAP Samples
> > > 3) Profiler and support files
> > > 4) XML:DB generators
> > > 5) DatabaseSelectAction.java
> > > 6) ScriptAction.java & ServerPagesAction.java
> > > 7) action.xsl and sel.xsl LogicSheets
> > > 8) CachingCIncludeTransformer and IncludeCacheValidity.java
> > > 9) JUnit based Test framework.
> > > 10) Script Action samples.
> > >
> > > If i have made any mistakes, please bear with me and let me know, i will fix or
>roll them
> > back.
> > > Please go ahead and test C2.0. Let us try to get the "Release Candidate #1" out
>the door by
> > end of
> > > next week (Sep 15, 2001).
> > >
> > > Thanks,
> > > dims
> > >
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> > > http://im.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> > >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]