You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2001/07/02 04:29:25 UTC

Re: the return of org.apache.velocity.app.Velocity.init(java.lang.Str ingpropsFilename)

Li Xiaoli-a17351 wrote:
> 
> Hi
> 
> In java docs, I find clase org.apache.velocity.app.Velocity, the method init()
> public static void init(java.lang.String propsFilename)
>                  throws java.lang.Exception
> 
> can return true if successful, false otherwise.
> 
> But in it's definition, the return type is void, why?
> 

The docs are wrong.  Thanks for the catch!

geir

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!