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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to