Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
eggsovereasy18-Dec-07 10:36
eggsovereasy18-Dec-07 10:36 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
alanteigne18-Dec-07 11:56
alanteigne18-Dec-07 11:56 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
martin_hughes18-Dec-07 12:14
martin_hughes18-Dec-07 12:14 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
Mark Churchill18-Dec-07 14:24
Mark Churchill18-Dec-07 14:24 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
Giorgi Dalakishvili18-Dec-07 19:40
mentorGiorgi Dalakishvili18-Dec-07 19:40 
GeneralRe: Handler for all unhandled exceptions in a class? Pin
alanteigne19-Dec-07 7:30
alanteigne19-Dec-07 7:30 
GeneralException Handling in Windows application. Pin
Shani Aulakh18-Dec-07 9:27
Shani Aulakh18-Dec-07 9:27 
GeneralRe: Exception Handling in Windows application. Pin
pmarfleet18-Dec-07 10:23
pmarfleet18-Dec-07 10:23 
A try block can have multiple catch blocks. These should be arranged t-b in decdending order of specificity. You could have a block to specifically catch the FileNotFoundException exception, followed by a general block to catch any exceptions that derive from System.Exception. If an exception is raised, execution will branch into the first relevent catch block.
Paul Marfleet

"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush


GeneralRe: Exception Handling in Windows application. Pin
Shani Aulakh18-Dec-07 10:34
Shani Aulakh18-Dec-07 10:34 
GeneralRe: Exception Handling in Windows application. Pin
pmarfleet18-Dec-07 10:46
pmarfleet18-Dec-07 10:46 
GeneralRe: Exception Handling in Windows application. Pin
Shani Aulakh18-Dec-07 10:56
Shani Aulakh18-Dec-07 10:56 
GeneralRe: Exception Handling in Windows application. Pin
pmarfleet18-Dec-07 11:01
pmarfleet18-Dec-07 11:01 
GeneralRe: Exception Handling in Windows application. Pin
Shani Aulakh18-Dec-07 11:13
Shani Aulakh18-Dec-07 11:13 
GeneralRe: Exception Handling in Windows application. Pin
pmarfleet18-Dec-07 11:20
pmarfleet18-Dec-07 11:20 
GeneralRe: Exception Handling in Windows application. Pin
Kalvin @ Work18-Dec-07 11:16
Kalvin @ Work18-Dec-07 11:16 
GeneralRe: Exception Handling in Windows application. Pin
Shani Aulakh18-Dec-07 11:21
Shani Aulakh18-Dec-07 11:21 
GeneralpropertyGrid control Pin
netJP12L18-Dec-07 8:59
netJP12L18-Dec-07 8:59 
GeneralRe: propertyGrid control Pin
Paul Conrad24-Dec-07 19:49
professionalPaul Conrad24-Dec-07 19:49 
Questiontrackbar value Pin
#Jet18-Dec-07 8:50
#Jet18-Dec-07 8:50 
GeneralRe: trackbar value Pin
Paul Conrad24-Dec-07 19:50
professionalPaul Conrad24-Dec-07 19:50 
GeneralRe: trackbar value Pin
#Jet28-Dec-07 8:52
#Jet28-Dec-07 8:52 
GeneralConvert to utf8??? [modified] Pin
Doan Quynh18-Dec-07 7:37
Doan Quynh18-Dec-07 7:37 
GeneralRe: Convert to utf8??? Pin
Paul Conrad24-Dec-07 19:51
professionalPaul Conrad24-Dec-07 19:51 
QuestionLocate a treenode in a treeview Pin
gapfulgence18-Dec-07 7:31
gapfulgence18-Dec-07 7:31 
GeneralRe: Locate a treenode in a treeview Pin
DaveyM6918-Dec-07 11:49
professionalDaveyM6918-Dec-07 11:49 

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

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