<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Why isn't it sufficient to test for UnhandledError instead? Otherwise, we would also need to test for Warning etc. ...</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Dienstag, 15. Oktober 2019 13:18:26<br>
<b>An:</b> gettimothy via Squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Trunk: System-mt.1093.mcz</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Yeah, I wonder whether we should expand "Error" to "Error, Halt"?
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 15.10.2019 12:45:42 schrieb Balázs Kósi <rebmekop@gmail.com>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr">
<div>Hi Hannes!</div>
<div><br>
</div>
<div>This morning I've just run into this exact same situation: putting a halt into a method, called by a morph's #drawOn:</div>
<div>makes the image unusable.<br>
</div>
<div><br>
</div>
<div>The problem stems from WorldState >> displayWorldSafely: being safe only for Errors and not for other kind of</div>
<div>Exceptions, and Halt being only an Exception not an Error.<br>
</div>
<div><br>
</div>
<div>For a quick fix add Halt to the handled exceptions in #displayWorldSafely:</div>
<div>[aWorld displayWorld. finished := true] on: Error, Halt do: [:ex |</div>
<div></div>
<div>Balázs<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>