[Cuis-dev] removing developer tools from a Cuis Smalltalk image

ken.dickey at whidbey.com ken.dickey at whidbey.com
Tue Aug 20 10:41:24 PDT 2024


On 2024-08-20 07:39, Mark Volkmann via Cuis-dev wrote:

> Another thing that would be nice to do in images for non-developers is 
> to find a way to catch all MessageNotUnderstood errors and display a 
> user-friendly error message. Is there a recommended way to do that?

If you browse the #doesNotUnderstand messages, you should note:
vvv===vvv
Exception>>noHandler
	"No one has handled this error, but now give them a chance to decide 
how to debug it.  If none handle this either then open debugger (see 
UnhandedError-defaultAction)"

	UnhandledError signalForException: self
^^^===VVV

So, look at
  UnhandledError>>defaultAction

HTH,
-KenD


More information about the Cuis-dev mailing list