CIMClient connect exceptions on Linux

Noreen Lee <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hello,

On RedHat5,  Pegasus version 2.7.2-1.el5 installed.  I am calling the CIMClient->connect function.  In the CIMClient.h header file, the comment states the call will throw an InvalidLocatorException if you pass in an invalid hostname or a CIMClientHTTPErrorException if you pass in invalid username or password.  When I call CIMClient->connect with an invalid hostname or an invalid username or password, a generic "Exception" type is thrown.  

Does anyone know why any errors in the connect call is just throwing a generic "Exception" and not any of the other documented exceptions?

Thanks,
Noreen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.