![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 | Exception handling in .NET Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. It's Urgent... Thanks for the help!!! |
| | |
| | #2 (permalink) |
| Junior Member Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 | Re: Exception handling in .NET HI, oops this code wont compile at all. since the most generic handler you declared at toplevel.it shoud be like most specific catch first and the generic. |
| | |
![]() |
| Tags |
| exception , handling , net |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If no exception handling | ShivaniX | CICS | 0 | 30-05-08 07:47 PM |
| How the exception handling can be done | ShivaniX | QTP | 0 | 19-05-08 09:46 PM |
| what are exceptions? | mounika | ORACLE , SQL SERVER , SYBASE & Others | 13 | 01-03-07 04:49 PM |
| EXCEPTION HANDLING. | radhika743 | JAVA Technologies | 2 | 14-02-07 03:36 PM |
| What will happen to the Exception object after exception handling | preethisingh | Java Interview / Technical Questions | 0 | 23-01-07 01:25 PM |
| More Interview Questions Here... |