Click here to Skip to main content
16,016,180 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exception Handling in Windows application. Pin
pmarfleet18-Dec-07 10:23
pmarfleet18-Dec-07 10:23 
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 
If you just want to test that your catch blocks work the way you intend you can always throw an exception from code during testing. Just make sure to remove exception once you are convinced you're exception handling works the way you want. Depending on the application you could also use a driver for this.

throw new System.ApplicationException("Your message here");

You can replace ApplicationException with the exception types you actually want to test.
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 
GeneralHandwriting in windows server 2003 Pin
mehrdadc4818-Dec-07 7:24
mehrdadc4818-Dec-07 7:24 
GeneralLock the cursor type Pin
Kalvin @ Work18-Dec-07 5:55
Kalvin @ Work18-Dec-07 5:55 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 6:48
Skippums18-Dec-07 6:48 
GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 7:50
Kalvin @ Work18-Dec-07 7:50 
GeneralRe: Lock the cursor type Pin
Skippums18-Dec-07 8:02
Skippums18-Dec-07 8:02 
GeneralRe: Lock the cursor type Pin
Kalvin @ Work18-Dec-07 11:10
Kalvin @ Work18-Dec-07 11:10 
QuestionMath.Round..What am I missing? Pin
jayart18-Dec-07 4:40
jayart18-Dec-07 4:40 

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.