commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier" <xle...@yahoo.com>
Subject Configuration: problem with exception
Date Fri, 05 Nov 2004 11:52:11 GMT


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


Mime
View raw message