commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <sma...@lfjr.net>
Subject Re: [configuration] problem with exception
Date Fri, 05 Nov 2004 12:27:10 GMT
Hi Javier, could you show us the exact error displayed by the compiler ?

Emmanuel Bourg


Javier wrote:
> 
> Hi All
> 
> Iým using jakarta commons configuration by first time and with the
> following simple code
> 
> 
>  try {
>             pc = new PropertiesConfiguration("a.ini");
> 
>         } catch (ConfigurationException ce) {
>                 System.err.println(ce.getMessage());
>         }
> 
> 
> 
> at compile time received the error :
> 
> Incompatible types.
> 
> received org.apache.commons.configuration.ConfigurationException, requiered
> java.lang.Throwable..
> 
> What it means ?
> How could I catch the exception ?
> 
> Thanks in advance
> 
> <xl>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message