[xsd-users] exception declaration
frederic heem
frederic.heem at telsey.it
Fri Oct 28 06:45:53 EDT 2005
Hi,
At the moement, the following code is used to parse an xml file into c++
object:
std::string fileConf("pippo.xml");
try {
m_pLidConf = (LidConf (fileConf));
} catch (...){
PTRACE(1,"HT MAN\tInitialiseLid configuration not valid");
return FALSE;
}
The try catch statement catch any exceptions (catch (...)), is it possible to
get in the generated header file the kind of exception thrown ? In java the
throws keyword is compulsory in the function prototype but I don't think it
is in C++.
--
***** ----- ***** ----- *****
Frederic Heem
Software Designer
R&D - Telsey SpA Telecommunications
Viale Industria, 1
31055 Quinto di Treviso (TV)
ITALY
Tel. direct phone: (+39) 0422 377819
Tel. (+39) 0422 377711
Fax. (+39) 0422 470920
website ==> www.telsey.it
PRIVACY AND CONFIDENTIALITY NOTICE
This email and any attachments are confidential and are intended for the
addressee only.
If you have received this message by mistake, please contact us immediately
and then
delete the message from your system. You must not copy, distribute, disclose
or act upon
the contents of this email.
More information about the xsd-users
mailing list