Possible Duplicate:
Determining exception type after the exception is caught?
I am aware of exception handling in C#:
try{
// code causing exception
}
catch(System.Exception e){
// Here e variable holds the information about the actual exception that has occured in try block.
}
But, i want to achieve samething in VC++ (on VS 2008). How do we capture the TYPE of exception that has occured in the try block in VC++, as we don't have concept of packages in VC++?