So turbine would be happy with an exception?  We can easily throw one...

Hervé Guidetti wrote:
> 
> No, Velocity doesn't throw any exception...
> 
> Hervé
> 
> ----- Original Message -----
> From: John McNally <[EMAIL PROTECTED]>
> To: Turbine <[EMAIL PROTECTED]>
> Sent: Monday, February 19, 2001 7:15 PM
> Subject: Re: Problem using TurbineVelocity
> 
> > I took a quick look at TurbineVelocityService and it looks as though it
> > would probably throw a TurbineException which wraps whatever exception
> > Velocity would throw in this case.  Is Velocity not throwing an
> > exception?  If so, you may want to ask on the velocity list, why?
> >
> > John McNally
> >
> > Hervé Guidetti wrote:
> > >
> > > Hi,
> > >
> > > I use the TurbineVelocity has used in the
> > > VelocityScreen.buildTemplate(RunData data).
> > > The code is :
> > >     screenData = TurbineVelocity.handleRequest(context,pathToTemplate);
> > >
> > > If pathToTemplate define a template which doesn't exists, screenData is
> > > empty (string "") but not exception is thrown.
> > >
> > > Is this comportement wanted ?
> > > It seems logical to get an exception. Isn't it ??
> > >
> > > ------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > > Problems?:           [EMAIL PROTECTED]
> >
> >
> > ------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?:           [EMAIL PROTECTED]
> >
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

-- 
Geir Magnusson Jr.                               [EMAIL PROTECTED]

Developing for the web?  See http://jakarta.apache.org/velocity



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to