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

C#

 
AnswerRe: Need unique text in textboxes Pin
Ilia Blank25-Jul-06 10:27
Ilia Blank25-Jul-06 10:27 
QuestionA Network Browser.... Please Help. Pin
RobStroud25-Jul-06 8:13
RobStroud25-Jul-06 8:13 
AnswerRe: A Network Browser.... Please Help. Pin
LongRange.Shooter25-Jul-06 10:32
LongRange.Shooter25-Jul-06 10:32 
GeneralRe: A Network Browser.... Please Help. Pin
RobStroud26-Jul-06 8:11
RobStroud26-Jul-06 8:11 
GeneralRe: A Network Browser.... Please Help. Pin
LongRange.Shooter26-Jul-06 9:44
LongRange.Shooter26-Jul-06 9:44 
QuestionException type data getting lost when thrown out of a static class Pin
Dan Neely25-Jul-06 7:54
Dan Neely25-Jul-06 7:54 
AnswerRe: Exception type data getting lost when thrown out of a static class Pin
LongRange.Shooter25-Jul-06 10:36
LongRange.Shooter25-Jul-06 10:36 
GeneralRe: Exception type data getting lost when thrown out of a static class Pin
Dan Neely25-Jul-06 11:03
Dan Neely25-Jul-06 11:03 
I'm not sure I'm following you. Going up the callstack prior to the switch between the static data acess class and the main app the following code will evaluate the if statement as true of the original exeception was one of hte types being checked.


catch (Exception ex)
{
	if (ex is System.Xml.XmlException || ex is System.Xml.Schema.XmlSchemaException)
	{
		//an exception originally thrown as System.Xml.XmlException will still enter this code block 
		int i = 5;
		throw;
	}
}


Experimentally I added catch ( System.Xml.XmlException ex) and catch (System.Xml.Schema.XmlSchemaException ex) blocks in front of the catch (Exception ex) blocks at each level of the call tree.

I continue to see the same behavior I described in my original post. One thing I forgot to mention then, at the same time I go from the static class to the main app, I get a VS unhandled exception dialog with the full exception data and break/continue/ignore(disabled)/help buttons.
GeneralRe: Exception type data getting lost when thrown out of a static class Pin
LongRange.Shooter26-Jul-06 9:47
LongRange.Shooter26-Jul-06 9:47 
Question2 entry points Pin
skyeddie25-Jul-06 7:48
skyeddie25-Jul-06 7:48 
AnswerRe: 2 entry points Pin
stancrm25-Jul-06 8:40
stancrm25-Jul-06 8:40 
QuestionA DataGrid invisible column. Pin
orentuil25-Jul-06 7:48
orentuil25-Jul-06 7:48 
AnswerRe: A DataGrid invisible column. Pin
ankita patel25-Jul-06 9:06
ankita patel25-Jul-06 9:06 
GeneralRe: A DataGrid invisible column. Pin
orentuil25-Jul-06 9:48
orentuil25-Jul-06 9:48 
QuestionCan you help me? Pin
Wolf9225-Jul-06 7:41
Wolf9225-Jul-06 7:41 
AnswerRe: Can you help me? Pin
Andrew Lygin25-Jul-06 8:03
Andrew Lygin25-Jul-06 8:03 
Questionwhy ths code is not working Pin
digitalangel25-Jul-06 6:21
digitalangel25-Jul-06 6:21 
AnswerRe: why ths code is not working Pin
David Crow25-Jul-06 6:24
David Crow25-Jul-06 6:24 
AnswerRe: why ths code is not working Pin
Heywood25-Jul-06 6:51
Heywood25-Jul-06 6:51 
GeneralRe: why ths code is not working Pin
digitalangel25-Jul-06 21:02
digitalangel25-Jul-06 21:02 
AnswerRe: why ths code is not working Pin
Andrew Lygin25-Jul-06 6:52
Andrew Lygin25-Jul-06 6:52 
QuestionDragDrop Text!!! Pin
RizwanSharp25-Jul-06 5:37
RizwanSharp25-Jul-06 5:37 
Questionembedding dictionary withing another one? Pin
honeyman_can25-Jul-06 4:57
honeyman_can25-Jul-06 4:57 
AnswerRe: embedding dictionary withing another one? Pin
Dustin Metzgar25-Jul-06 5:24
Dustin Metzgar25-Jul-06 5:24 
GeneralRe: embedding dictionary withing another one? Pin
honeyman_can25-Jul-06 5:32
honeyman_can25-Jul-06 5:32 

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.