GregTomkins
Active Member
10.2B HPUX
I was experimenting with 'catch' a little. It seems like it only works within a .P, eg., if x.p runs y.p with a catch block and y.p causes an error, x.p doesn't see it, eg. in other words, the catch doesn't encompass subprocedures. If true, this makes it not very useful IMO.
Am I misunderstanding something? The documentation doesn't seem to cover this (that I could find). The documentation of ROUTINE-LEVEL implies that this is the case, though.
Anecdotally, it seems like amongst the posters here and the cacophony of OO enthusiasm, the topic of 'catch' is rarely mentioned. (I realize 'catch' isn't OO specific, I mention them together in the sense that they are both relatively recent additions, and both likely motivated by Java-catchup).
I was experimenting with 'catch' a little. It seems like it only works within a .P, eg., if x.p runs y.p with a catch block and y.p causes an error, x.p doesn't see it, eg. in other words, the catch doesn't encompass subprocedures. If true, this makes it not very useful IMO.
Am I misunderstanding something? The documentation doesn't seem to cover this (that I could find). The documentation of ROUTINE-LEVEL implies that this is the case, though.
Anecdotally, it seems like amongst the posters here and the cacophony of OO enthusiasm, the topic of 'catch' is rarely mentioned. (I realize 'catch' isn't OO specific, I mention them together in the sense that they are both relatively recent additions, and both likely motivated by Java-catchup).