Search found 6 matches
- Thu Jun 20, 2019 2:42 pm
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Re: Nested Exception
Now that i know where i can find the inner exception in the bug-report it is only a theoretical problem which happens when I want to evaluate the innerexception-property inside of a try except. Currently i don't do this (therefor it's only theoretical). What i don't like is the fact that I loose the...
- Wed Jun 19, 2019 6:55 am
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Re: Nested Exception
Hi madshi, thanks for the clarification. I didn't expected to see the both exceptions only in the madexcept callstack. I not really happy that with madexcept i have not more a reference to the first exception object from my sourcecode. Or is there a way how i can get the first exception object? But ...
- Thu Jun 13, 2019 6:56 am
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Re: Nested Exception
Yes I tried, but it does not work. I changed my first program a little bit. And only with 'RaiseOuterException' a innerException is available at all, but also only when a disable madexcept. When madexcept is enabled the innerexception is also nil (even with 'RaiseOuterException'). program TestProjec...
- Wed Jun 12, 2019 12:37 pm
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Re: Nested Exception
I cannot simply raise another exception with 'raise' because in this case the first exception will be destroyed. As far as i know the first exception will not be destroyed only when i reraise it with 'raise' or wrap it with another exception with 'RaiseOuterException'. I made some debugging and for ...
- Tue Jun 11, 2019 9:17 am
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Re: Nested Exception
I would use it for chains of exception. Currently when I have the case that one exception is raised because of another exception i take the first one and append some text to the error-message. But when I make it this way I loose all data from the second exception and my idea was to change this by us...
- Fri Jun 07, 2019 10:56 am
- Forum: madExcept
- Topic: Nested Exception
- Replies: 17
- Views: 18265
Nested Exception
Hi Madshi, i am using madExcept and have a problem with nested Exception. When i nest exceptions with RaiseOuterException and madExcept is enabled then the inner exception gets lost (value is nil). When I disable madExcept all is fine. I am using madExcept with version 2.8.3.0 (but I could also repr...