Viewing InnerExceptions

J

John

Hi

When an exception occurs how can I view InnerExceptions to get to the bottom
of the problem? Is it possible to view all InnerExceptions?

Thanks

Regards
 
J

Joe Cool

Hi

When an exception occurs how can I view InnerExceptions to get to the bottom
of the problem? Is it possible to view all InnerExceptions?

Thanks

Regards

If there is an InnerException, the InnerException property of the
exception will not be Nothing. If it isn't the message is in the
InnerException's Message property. An inner exception can have an
inner exception, and do forth. Just keep checking the InnerException
property for not Nothing.
 

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

Top