Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Exception and Inner Exception

This is a discussion on Exception and Inner Exception within the C Sharp forums, part of the Programming Talk category; I would like to know the difference between Exception and Inner Exception....

  1. #1
    Christopher_BG is offline Junior Member Array
    Join Date
    Jan 2006
    Answers
    12

    Exception and Inner Exception

    I would like to know the difference between Exception and Inner Exception.


  2. #2
    Abdul_ali is offline Junior Member Array
    Join Date
    Dec 2011
    Answers
    4
    Hi,

    Exception
    Exceptions are technique used to communicate errors safely.

    Inner Exception
    Wrapping all exceptions in a custom exception object, so that it can provide additional information about what the code was doing when the exception was thrown. Passing ex(exception object) as parameter, we can bypass the original Exception and also it preserve all the original properties & stack trace.

    Please correct me if it is wrong.


Latest Article

Network Security Risk Assessment and Measurement

Read More...