SwikiCodeRobot @> 380 |
"Force a DNU exception" | ns pool | pool := (ObjCClass classNamed: #NSAutoreleasePool in: #Foundation) newInstanceHandle. ns := ID classNamed: #NSObject. [ ns handle value: #dnuThisMessage ] on: Error do: [:ex| ^self print: 'ok - ',ex toString stream nextLine ].