Search found 4 matches

by ctvt
Wed May 18, 2022 1:05 pm
Forum: madExcept
Topic: Manipulate madexcept.Exceptmessage
Replies: 7
Views: 434

Re: Manipulate madexcept.Exceptmessage

I'm very sorry, one of my colleagues pre-handled the message and put the objectname into your exceptionmessage.
Thanks for your help :) Closed here.
by ctvt
Mon May 16, 2022 7:50 am
Forum: madExcept
Topic: Manipulate madexcept.Exceptmessage
Replies: 7
Views: 434

Re: Manipulate madexcept.Exceptmessage

I tested it again with Delphi 10.4.2 without Madexcept.

Our previous exception-handler, where we directly caught the Exception-Message - didn't show off this extra line with 'objectname'#DA.

It's not that much, but if you say so, i'll catch this and delete this extra line. No problem.
by ctvt
Thu May 12, 2022 9:40 am
Forum: madExcept
Topic: Manipulate madexcept.Exceptmessage
Replies: 7
Views: 434

Re: Manipulate madexcept.Exceptmessage

Added a small example. That's sort of how we add some information to already given exception-information and show it in a message-box. initialization exHandler := TEHandler.Create; RegisterExceptionHandler(OnBeforeDialog, stTrySyncCallAlways, epMainPhase); finalization FreeAndNil(exHandler); procedu...
by ctvt
Thu May 12, 2022 7:52 am
Forum: madExcept
Topic: Manipulate madexcept.Exceptmessage
Replies: 7
Views: 434

Manipulate madexcept.Exceptmessage

Hello, i have a short question about the property 'exceptInf.ExceptMessage'. Whe're creating our own bugreport with contents of ExceptMessage, ExceptClass and RelatedObject. I realised, that when an exception occurs, the first line of ExceptMessage already contains the relatedobject - if its not a T...