HowTo: show inner exception message if available, else outer one

Έχουν δημοσιευτεί 09 Δεκεμβρίου 15 05:44 πμ | Μπιρμπίλης Γεώργιος 
Sometimes when you catch an exception in .NET, the message it prints out isn’t very informative, since it is wrapping another exception that had been thrown a bit inner in the code. That exception is in that case accessible via InnerException of the Exception instance. That inner exception is also an Exception, so one would […]
Δημοσίευση στην κατηγορία: , , , , , ,

Σχόλια:

Χωρίς Σχόλια
Έχει απενεργοποιηθεί η προσθήκη σχολίων από ανώνυμα μέλη

About Μπιρμπίλης Γεώργιος

Microsoft MVP J# 2004-2010 Borland Spirit of Delphi 2001 http://zoomicon.com

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές