You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Emmanuel Bourg <sm...@lfjr.net> on 2004/11/05 13:27:10 UTC

Re: [configuration] problem with exception

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