tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Jasper Exception
Date Thu, 11 Sep 2003 14:45:42 GMT

Howdy,
I'm not a jasper expert, but you're asking for trouble with this
interface is type design -- there's not much the compiler can do ;(
http://checkstyle.sourceforge.net/config_design.html#InterfaceIsType

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Laurent Michenaud [mailto:lmichenaud@adeuza.fr]
>Sent: Thursday, September 11, 2003 10:39 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Jasper Exception
>
>Hi,
>
>I've got some classes like this :
>
>package com.a2a.util ;
>public interface A2aConstantes
>{
>  java.util.ResourceBundle props =
>java.util.ResourceBundle.getBundle("test");
>  public static final String SCHEMA = props.getString("SCHEMA");
>  public static final String URL_RACINE =
props.getString("URL_RACINE");
>}
>
>If the SCHEMA property doesnot exist in my test.properties, a jasper
>exception
>is thrown instead of a "Missing Ressource Property".
>So, when I have a jasper exception, I don't know where it comes from
and
>it is very annoying.
>Are there any solution ?
>
>Thanks
>
>



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message