unknown exception

delphi package - automated exception handling
Post Reply
rmcamps
Posts: 4
Joined: Thu Sep 15, 2005 10:15 pm
Contact:

unknown exception

Post by rmcamps »

I writed my following custom exception. When my application raise that exception madExcept shows the error with "Unknow exception Class".
I registered an exception handler but I cannot detect my custom exception error. How can I get madExcept to recognize my custom exception?

class EUserException : public Exception
{
public:
EUserException(String message) : Exception(message) {}
};
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Hmmmm... Not sure how they works. I'll have a look at this.
rmcamps
Posts: 4
Joined: Thu Sep 15, 2005 10:15 pm
Contact:

More details about "Unknown Exception"

Post by rmcamps »

Thank you,
I give you here more details about the problem.

When I raise a known Borland exception madExcept recognizes the Exception, but when I raise my own EUserException doesn't.

throw Exception("Testing Exception");

madExcept:
date/time : 2005-09-16, 11:33:46, 671ms
computer name : SCSA-NOTEBOOK1
user name : Robert <admin>
operating system : Windows XP Service Pack 2 build 2600
system language : Spanish
system up time : 16 hours 33 minutes
program up time : 5 minutes 15 seconds
processors : 2x Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
physical memory : 49/447 MB (free/total)
free disk space : (C:) 7,05 GB
display mode : 1280x800, 32 bit
process id : $55c
allocated memory : 14,70 MB
command line : "C:\flexa\fgestion\FlexaGestionDebug.exe" fgestion
executable : FlexaGestionDebug.exe
exec. date/time : 2005-09-16 11:28
madExcept version : 3.0
callstack crc : $ed4d1b91, $df3262db, $df3262db
contact name : Pepe
contact email : robertocamps@flexasistemas.com
exception class : Exception
exception message : Testing Exception.


throw EUserException("Testing EUserException");

madExcept:
date/time : 2005-09-16, 11:38:30, 625ms
computer name : SCSA-NOTEBOOK1
user name : Robert <admin>
operating system : Windows XP Service Pack 2 build 2600
system language : Spanish
system up time : 16 hours 37 minutes
program up time : 44 seconds
processors : 2x Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
physical memory : 82/447 MB (free/total)
free disk space : (C:) 7,05 GB
display mode : 1280x800, 32 bit
process id : $4b8
allocated memory : 15,69 MB
command line : "C:\flexa\fgestion\FlexaGestionDebug.exe" fgestion
executable : FlexaGestionDebug.exe
exec. date/time : 2005-09-16 11:28
madExcept version : 3.0
callstack crc : $e866baf9, $f1837431, $f1837431
contact name : aaa
contact email : robertocamps@flexasistemas.com
exception class : Unknown
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

The problem is finally fixed in this build:

http://madshi.net/madCollectionBeta.exe

Sorry for the late fix.
Post Reply