How is normal catch statement different from catch(Exception error) statement?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3453
    Nitesh
    Member

    How is normal catch statement different from catch(Exception error) statement?

    I mean what is the difference in catch statement in below two scenarios..

    
    
    try 
    {
    //Code that might generate error
    }
    catch
    {
    
    }
    
    

    and

    
    
    try 
    {
    //Code that might generate error
    }
    catch(Exception error)
    {
    
    }
    
    
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.