A
Alan Baljeu
My code calls int.Parse(text), which throws a System.Format exception. This is fine
because text is all letters, and I explicitly catch the exception. However, my program
never receives the System.Format exception. Instead, I get this in the output, and I
receive a ThreadAbortException:
A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Input string was not in a correct format.
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll
Additional information: Thread was being aborted.
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in
kbvalidatelib.dll
Additional information: Thread was being aborted.
I don't want the Thread to abort. What can I do?
because text is all letters, and I explicitly catch the exception. However, my program
never receives the System.Format exception. Instead, I get this in the output, and I
receive a ThreadAbortException:
A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Input string was not in a correct format.
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll
Additional information: Thread was being aborted.
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in
kbvalidatelib.dll
Additional information: Thread was being aborted.
I don't want the Thread to abort. What can I do?