Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mohan5k

@mohan5k
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Catch an Exception... then throw it?
    M mohan5k

    I know what you are tyring to say.. I just commented for the above post as they simply catching and throwing it again with out doing any work..

    The Weird and The Wonderful csharp question

  • Catch an Exception... then throw it?
    M mohan5k

    HI, I do not really understant why we have to catch the exception and throw it. I mean if a (first)function/sub is caling another (Second)function/sub if any exception is coming in sencond function why we have to catch it and throw it. It will automatically throw the exception right?

    function1()
    {
    try
    {
    calling function2()
    }
    catch(exception e)
    {
    //I handled the exception thrown from the functions/subs called
    }

    }

    function2()
    {
    //if any error/exception comes here .net handler automatically throws it to the calling function/sub where it was handled.
    }

    modified on Monday, November 29, 2010 7:18 AM

    The Weird and The Wonderful csharp question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups