Exception originalCall and the original call.

Jan-Paul Bultmann <[email protected]>
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Hey,
Is this the correct behaviour?
Isn't the _call_ in which the exception was thrown the _originalCall_?

Cheers Jan

A := Object clone do(v := nil; m := method(
	"Call:\nsender:" println
	call sender println
	"target:" println
	call target println
	"slotContext:" println
	call slotContext println
	v hi)
)
e :=  try(A m)
"OriginalCall:\nsender:" println
e originalCall sender println
"target:" println
e originalCall target println
"slotContext:" println
e originalCall slotContext println

==>

Call:
sender:
Object_0x1002190e0:
A                = A_0x1002b34f0
Lobby            = Object_0x1002190e0
Protos           = Object_0x100218f20
_                = nil
exit             = method(...)
forward          = method(...)
set_             = method(...)

target:
A_0x1002b34f0:
m                = method(...)
type             = "A"
v                = nil

slotContext:
A_0x1002b34f0:
m                = method(...)
type             = "A"
v                = nil

OriginalCall:
sender:
A_0x1002b34f0:
m                = method(...)
type             = "A"
v                = nil

target:
nil
slotContext:
Object_0x1002190e0:
A                = A_0x1002b34f0
Lobby            = Object_0x1002190e0
Protos           = Object_0x100218f20
_                = nil
e                = Exception_0x1003c0e00
exit             = method(...)
forward          = method(...)
set_             = method(...)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.