Hallo - I have an exception called Edm_intcatch (public Exception) that I wish to try in a class called Tdm_dirstruct.
I would expect the exception to be caught by MY code in the following example:
try{
PerformAction(); // During this function Edm_intcatch is thrown...
}
catch(Edm_intcatch&){
ShowMessage("Where I expect the catch!"
;
}
However, the compiler seems to catch it first & display ITS error message.
Could anyone tell me how to catch my own exception & deal with it entirely by myself, without the compiler?
Cheers,
Douglas JL Common sense is what tells you the world is flat.
I would expect the exception to be caught by MY code in the following example:
try{
PerformAction(); // During this function Edm_intcatch is thrown...
}
catch(Edm_intcatch&){
ShowMessage("Where I expect the catch!"
}
However, the compiler seems to catch it first & display ITS error message.
Could anyone tell me how to catch my own exception & deal with it entirely by myself, without the compiler?
Cheers,
Douglas JL Common sense is what tells you the world is flat.