Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: textBox Pin
sardonicus27-Feb-05 3:19
sardonicus27-Feb-05 3:19 
GeneralRe: textBox Pin
S. Senthil Kumar27-Feb-05 7:16
S. Senthil Kumar27-Feb-05 7:16 
GeneralNTDll's Compression Functions Pin
Stanimir_Stoyanov26-Feb-05 11:52
Stanimir_Stoyanov26-Feb-05 11:52 
GeneralRe: NTDll's Compression Functions Pin
Heath Stewart27-Feb-05 4:25
protectorHeath Stewart27-Feb-05 4:25 
Generalarrange dataGrid Columns Pin
Adnan Siddiqi26-Feb-05 10:53
Adnan Siddiqi26-Feb-05 10:53 
GeneralRe: arrange dataGrid Columns Pin
Heath Stewart27-Feb-05 4:30
protectorHeath Stewart27-Feb-05 4:30 
GeneralSystem.Xml.XmlException: The root element is missing. Pin
mantissaPuc26-Feb-05 9:53
mantissaPuc26-Feb-05 9:53 

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.