Click here to Skip to main content
15,913,758 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to make it user input (urgent) Pin
tyenchoo28-Feb-05 22:35
tyenchoo28-Feb-05 22:35 
GeneralRefreshing images, performance problem Pin
lszymik26-Feb-05 22:48
lszymik26-Feb-05 22:48 
GeneralRe: Refreshing images, performance problem Pin
Heath Stewart27-Feb-05 4:49
protectorHeath Stewart27-Feb-05 4:49 
GeneralRe: Refreshing images, performance problem Pin
lszymik28-Feb-05 5:30
lszymik28-Feb-05 5:30 
GeneralXmlSerializer bhaviour Pin
mav.northwind26-Feb-05 21:27
mav.northwind26-Feb-05 21:27 
GeneralRe: XmlSerializer bhaviour Pin
Heath Stewart27-Feb-05 4:43
protectorHeath Stewart27-Feb-05 4:43 
GeneralRe: XmlSerializer bhaviour Pin
mav.northwind27-Feb-05 22:12
mav.northwind27-Feb-05 22:12 
GeneralChange TreeNode text at runtime Pin
oohungoo26-Feb-05 15:11
oohungoo26-Feb-05 15:11 
GeneralRe: Change TreeNode text at runtime Pin
Radgar26-Feb-05 16:45
Radgar26-Feb-05 16:45 
GeneralRe: Change TreeNode text at runtime Pin
Luis Alonso Ramos26-Feb-05 18:52
Luis Alonso Ramos26-Feb-05 18:52 
GeneralRe: Change TreeNode text at runtime Pin
Radgar27-Feb-05 6:39
Radgar27-Feb-05 6:39 
GeneralReference to undeclared parameter entity Pin
mantissaPuc26-Feb-05 13:07
mantissaPuc26-Feb-05 13:07 
GeneralRe: Reference to undeclared parameter entity Pin
Heath Stewart27-Feb-05 4:37
protectorHeath Stewart27-Feb-05 4:37 
GeneralApplication Variables Pin
DougW4826-Feb-05 12:55
DougW4826-Feb-05 12:55 
GeneralRe: Application Variables Pin
Colin Angus Mackay26-Feb-05 13:32
Colin Angus Mackay26-Feb-05 13:32 
DougW48 wrote:
This is for error-handling purposes, so as much information about my runtime that I can get, the better.

It sounds like you are trying to break encapsulation which would really muddy and complicate the design of your application.

If an unexpected error condition arises you should throw an exception. If you need to you should create an exception class and design it so that it can be loaded with the error information so that the error handler (the catch block) can see the necessary information. However you should think carefully about whether you actually need the information or if it is just a quick solution now that will muddle things in the future.




Cada uno es artifice de su ventura
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: Application Variables Pin
S. Senthil Kumar26-Feb-05 13:45
S. Senthil Kumar26-Feb-05 13:45 
GeneralCreating invisible services Pin
Esmo200026-Feb-05 12:52
Esmo200026-Feb-05 12:52 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay26-Feb-05 13:35
Colin Angus Mackay26-Feb-05 13:35 
GeneralRe: Creating invisible services Pin
Radgar26-Feb-05 16:53
Radgar26-Feb-05 16:53 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay26-Feb-05 17:00
Colin Angus Mackay26-Feb-05 17:00 
GeneralRe: Creating invisible services Pin
Radgar26-Feb-05 17:26
Radgar26-Feb-05 17:26 
GeneralRe: Creating invisible services Pin
Mazdak27-Feb-05 4:50
Mazdak27-Feb-05 4:50 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay27-Feb-05 7:04
Colin Angus Mackay27-Feb-05 7:04 
GeneraltextBox Pin
sardonicus26-Feb-05 12:03
sardonicus26-Feb-05 12:03 
GeneralRe: textBox Pin
S. Senthil Kumar26-Feb-05 12:44
S. Senthil Kumar26-Feb-05 12:44 

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.