System Exception
From: Todd Bright (ToddBright_at_discussions.microsoft.com)
Date: 02/16/05
- Next message: DC Gringo: "Re: owc not working"
- Previous message: Tampa .NET Koder: "Re: encrypted URL, e.g.: (ry2rvt55anmz1afokhkm21rw)"
- Next in thread: Ollie: "Re: System Exception"
- Reply: Ollie: "Re: System Exception"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Feb 2005 11:17:03 -0800
Is there a way to get to the last exception in .Net from outside a catch
block? I've inherited someone else's ASP.Net app that's having problems. He
is calling a method to log his errors but is only passing his custom error
messages so there is no way to know what is really happening. What I would
like to do is to access the last exception that occurred from the LogError()
function rather than have to modify all of the places that it is being called
to pass extra information to it.
Is there anything in .Net that provides access to the last exception data...
Message, StackTrace, etc?
Thanks,
Todd
- Next message: DC Gringo: "Re: owc not working"
- Previous message: Tampa .NET Koder: "Re: encrypted URL, e.g.: (ry2rvt55anmz1afokhkm21rw)"
- Next in thread: Ollie: "Re: System Exception"
- Reply: Ollie: "Re: System Exception"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|