R
Roland Hochmann
Hello all,
we develop an appplication with CF 1.0 SP3 in C#.
On program start I load a lot of data from files.
I built an own exception that throws when a file is missing or the
wrong file is loaded to inform the user.
But when I throw the user defined exception, the type of exception is
changed: now it's a TypeloadException. For all exceptions i have a
"catch" around my Appplication.Run method in Main () one for my own
exceptions and one for the system exceptions.
I thought no line of code can be executed 'til the first "catch" is
found in the stack of the application!?!?
How can the exception type change or alternatively can be thrown
another exception of tzhe framework?
Any help would be appreciated
Roland
we develop an appplication with CF 1.0 SP3 in C#.
On program start I load a lot of data from files.
I built an own exception that throws when a file is missing or the
wrong file is loaded to inform the user.
But when I throw the user defined exception, the type of exception is
changed: now it's a TypeloadException. For all exceptions i have a
"catch" around my Appplication.Run method in Main () one for my own
exceptions and one for the system exceptions.
I thought no line of code can be executed 'til the first "catch" is
found in the stack of the application!?!?
How can the exception type change or alternatively can be thrown
another exception of tzhe framework?
Any help would be appreciated
Roland