Do you have experience with exceptions?

G

gwowen

What I meant with getters was that if not the what() function takes care
of the data one can provide getters as: getFunctionName(), getLine(),
getFileName(), getErrno(), and maybe getIPAddress() if it's a
NetworkConnectionFailedException.

I have a modest proposal that will satisfy both camps: Store all that
useful information in the .what() string, by encoding it in XML!
There is no computer science mechanism that cannot be improved by
adding a(nother) layer of XML.
 
D

DeMarcus

I have a modest proposal that will satisfy both camps: Store all that
useful information in the .what() string, by encoding it in XML!
There is no computer science mechanism that cannot be improved by
adding a(nother) layer of XML.

Actually I've been thinking in those terms since both Windows' and
RFC5424 support structured data in their logs.

Do you know any site showing examples of that so I can get some inspiration?
 
I

Ian Collins

I have a modest proposal that will satisfy both camps: Store all that
useful information in the .what() string, by encoding it in XML!
There is no computer science mechanism that cannot be improved by
adding a(nother) layer of XML.

:)
 
D

DeMarcus

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top