Click here to Skip to main content
11,505,005 members (67,726 online)

.NET Framework

 
GeneralRe: OT Pin
Eddy Vluggen10-Oct-12 9:00
memberEddy Vluggen10-Oct-12 9:00 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
dojohansen10-Oct-12 5:36
memberdojohansen10-Oct-12 5:36 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen10-Oct-12 9:09
memberEddy Vluggen10-Oct-12 9:09 
QuestionSMS forwarding through GSM modem Pin
Member 94607155-Oct-12 2:57
memberMember 94607155-Oct-12 2:57 
QuestionHow to force rendering to generate an ID? [modified] Pin
AtALossHere5-Oct-12 1:13
memberAtALossHere5-Oct-12 1:13 
AnswerRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 2:24
mvpSandeep Mewara5-Oct-12 2:24 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 3:26
memberAtALossHere5-Oct-12 3:26 
GeneralRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 3:30
mvpSandeep Mewara5-Oct-12 3:30 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:51
memberAtALossHere5-Oct-12 4:51 
AnswerRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:58
memberAtALossHere5-Oct-12 4:58 
QuestionCustom Class Exception Management / Setup Pin
Mike-MadBadger4-Oct-12 1:40
memberMike-MadBadger4-Oct-12 1:40 
AnswerRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 1:50
protectorPete O'Hanlon4-Oct-12 1:50 
GeneralRe: Custom Class Exception Management / Setup Pin
Mike-MadBadger4-Oct-12 2:27
memberMike-MadBadger4-Oct-12 2:27 
GeneralRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 2:32
protectorPete O'Hanlon4-Oct-12 2:32 
Mike-MadBadger wrote:
I had read into it that what I am doing is saying that if anything I wasn't
expecting happens, just re-throw the same thing to ensure you don't lose it,
i.e. it's a side effect of a Try block. Maybe I assumed that without it I would
in effect be 'swallowing' all other exceptions, but maybe that only happens if I
catch the general purpose one and then leave the catch block empty?

Actually, what I was referring to was don't bother catching it at all. When you catch and throw, without doing anything with the exception, it's a waste of time. So, in your case, all you needed to catch was the IndexOutOfRangeException. Any other exception is still going to show your method in the stack trace, so there is still context there for you to work with.

I hope that explains it better.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

QuestionI need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:02
memberCihangir Giray Han3-Oct-12 22:02 
AnswerRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:08
protectorPete O'Hanlon3-Oct-12 22:08 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:33
memberCihangir Giray Han3-Oct-12 22:33 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:39
protectorPete O'Hanlon3-Oct-12 22:39 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han4-Oct-12 1:47
memberCihangir Giray Han4-Oct-12 1:47 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon4-Oct-12 1:51
protectorPete O'Hanlon4-Oct-12 1:51 
QuestionEntity Framework, Import Function Stored Procs & Data Services Pin
Stewart Judson1-Oct-12 23:57
memberStewart Judson1-Oct-12 23:57 
QuestionHow to use FileSystemWatcher Control ? Pin
DEEPAK9489@GMAIL.COM1-Oct-12 16:47
memberDEEPAK9489@GMAIL.COM1-Oct-12 16:47 
AnswerRe: How to use FileSystemWatcher Control ? Pin
JF20151-Oct-12 19:05
memberJF20151-Oct-12 19:05 
AnswerRe: How to use FileSystemWatcher Control ? Pin
Eddy Vluggen2-Oct-12 4:42
memberEddy Vluggen2-Oct-12 4:42 
QuestionHow to know .NET Framework, deeply? Pin
atoi_powered1-Oct-12 12:22
memberatoi_powered1-Oct-12 12:22 
AnswerRe: How to know .NET Framework, deeply? Pin
Eddy Vluggen2-Oct-12 4:40
memberEddy Vluggen2-Oct-12 4:40 
GeneralRe: How to know .NET Framework, deeply? Pin
isenthil2-Oct-12 6:27
memberisenthil2-Oct-12 6:27 
GeneralRe: How to know .NET Framework, deeply? Pin
atoi_powered2-Oct-12 8:23
memberatoi_powered2-Oct-12 8:23 
QuestionCrytal reports Pin
yaswanth0011-Oct-12 1:27
memberyaswanth0011-Oct-12 1:27 
AnswerRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 1:46
protectorPete O'Hanlon1-Oct-12 1:46 
GeneralRe: Crytal reports Pin
yaswanth0011-Oct-12 7:04
memberyaswanth0011-Oct-12 7:04 
GeneralRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 9:42
protectorPete O'Hanlon1-Oct-12 9:42 
QuestionAndroid applications Pin
Member 940514026-Sep-12 6:24
memberMember 940514026-Sep-12 6:24 
AnswerRe: Android applications Pin
Richard MacCutchan26-Sep-12 6:32
mvpRichard MacCutchan26-Sep-12 6:32 
AnswerRe: Android applications Pin
Abhinav S1-Oct-12 1:49
mvpAbhinav S1-Oct-12 1:49 
QuestionJagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Mike-MadBadger25-Sep-12 6:50
memberMike-MadBadger25-Sep-12 6:50 
AnswerRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers [modified] Pin
Richard Deeming4-Oct-12 8:23
memberRichard Deeming4-Oct-12 8:23 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Mike-MadBadger4-Oct-12 20:43
memberMike-MadBadger4-Oct-12 20:43 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Mike-MadBadger4-Oct-12 20:51
memberMike-MadBadger4-Oct-12 20:51 
Questionthe system.__ComObject Pin
majedksa25-Sep-12 1:30
membermajedksa25-Sep-12 1:30 
AnswerRe: the system.__ComObject Pin
Shameel25-Sep-12 1:55
memberShameel25-Sep-12 1:55 
QuestionHelp with system.__ComObject Pin
majedksa25-Sep-12 1:29
membermajedksa25-Sep-12 1:29 
QuestionValidation of viewstate MAC failed. Pin
Sandeepkumar potu24-Sep-12 19:52
memberSandeepkumar potu24-Sep-12 19:52 
AnswerRe: Validation of viewstate MAC failed. Pin
Sandeep Mewara24-Sep-12 20:13
mvpSandeep Mewara24-Sep-12 20:13 
QuestionVB.NET with MSAccess [modified] Pin
kkct23-Sep-12 19:35
memberkkct23-Sep-12 19:35 
AnswerRe: VB.NET with MSAccess Pin
Richard MacCutchan23-Sep-12 21:45
mvpRichard MacCutchan23-Sep-12 21:45 
AnswerRe: VB.NET with MSAccess Pin
Mazumder.Soumen25-Sep-12 2:22
memberMazumder.Soumen25-Sep-12 2:22 
Questionresizing a form in corner, bottom,right Pin
gopal karmakar21-Sep-12 6:04
membergopal karmakar21-Sep-12 6:04 
QuestionRe: resizing a form in corner, bottom,right Pin
Eddy Vluggen21-Sep-12 6:20
memberEddy Vluggen21-Sep-12 6:20 
QuestionLookup table .NET Component Pin
HentoDeluxe21-Sep-12 5:26
memberHentoDeluxe21-Sep-12 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 2 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid