Re: [Pharo-users] Semantics of #resignalAs:

2015-07-24 Thread Norbert Hartl
Joachim, thanks for looking into it. The text is the one from ANSI. I'm also puzzled about the last sentence "Control does not return from this message to the currently active exception action." I think it means after the resignalling has been done it does not return after the invocation of t

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread jtuc...@objektfabrik.de
Hi again, okay, trying in VAST didn't shed much light, because resignalAs: is implemented as ^self error: 'Not yet implemented'. ;-))) But here is an excerpt from the method's comment: Synopsis: Signal an alternative exception in place of the receiver. Definition:

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread jtuc...@objektfabrik.de
Definitely looks wrong to me... The catching block shouldn't catch exceptions in itself, and a resignal should never run the block again... I'll try this in VAST. Am 23.07.15 um 20:05 schrieb Norbert Hartl: You get a debugger at the position if the halt in the code. Meaning the exception blo

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread Norbert Hartl
You get a debugger at the position if the halt in the code. Meaning the exception block run more than once. And it would run forever. Norbert > Am 23.07.2015 um 18:46 schrieb Joachim Tuchel : > > Norbert, > > Sorry if this is a stupid question: what does the debugger say? > > I mean, assumi

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread Joachim Tuchel
Norbert, Sorry if this is a stupid question: what does the debugger say? I mean, assuming NotFound is an Exception, I'd expect a debugger showing a NotFound Error... Joachim Am 23.07.2015 18:34 schrieb Norbert Hartl : > > > > Am 23.07.2015 um 17:54 schrieb Joachim Tuchel : > > > > Norbert,

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread Norbert Hartl
> Am 23.07.2015 um 17:54 schrieb Joachim Tuchel : > > Norbert, > > I'd say you get a NotFound Exception. > In pharo you get a debugger. Meaning this piece of code is actively an endless loop. Norbert > Joachim > > > >> Am 23.07.2015 um 16:20 schrieb Norbert Hartl : >> >> What are the se

Re: [Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread Joachim Tuchel
Norbert, I'd say you get a NotFound Exception. Joachim > Am 23.07.2015 um 16:20 schrieb Norbert Hartl : > > What are the semantics of Exception>>#resignalAs: regarding active exception > handler? Isn't the active exception handler excluded from being treated > again? Taking the example >

[Pharo-users] Semantics of #resignalAs:

2015-07-23 Thread Norbert Hartl
What are the semantics of Exception>>#resignalAs: regarding active exception handler? Isn't the active exception handler excluded from being treated again? Taking the example | counter | counter := 0. [ 1/0 ] on: Error do: [ :e | counter := counter + 1.