[squeak-dev] How May We Assist?

Renters Cancellation Requests renterscancel at assurant.com
Fri Apr 10 22:22:13 UTC 2020


Dear Valued Customer,


Thank you for your inquiry. Please let us know how we may assist you.


If you have a Renter’s policy, you can manage your policy online 24/7 at: https://www.myassurantpolicy.com/

You have access to a range of service options including:

  *
View/update policy information
  *
Manage your payments
  *
Obtain proof of insurance
  *
And much more



Thank you for allowing us the opportunity to serve you.


Sincerely,

Insurance Services

Assurant - Global Specialty Operations




------------------- Original Message -------------------
From: Jakob Reschke
Received: Thu Apr 09 2020 12:13:00 GMT-0400 (Eastern Daylight Time)
To: gettimothy via Squeak-dev
Subject: Re: [squeak-dev] Why is ModificationForbidden not an Error?

Making it an error might also make smalltalkCI (through SUnit) catch it to continue. Failing the tests rather than halting the run.


Eliot Miranda <eliot.miranda at gmail.com<mailto:eliot.miranda at gmail.com>> schrieb am Do., 9. Apr. 2020, 17:04:
Hi Christoph,


On Apr 9, 2020, at 7:01 AM, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de<mailto:Christoph.Thiede at student.hpi.uni-potsdam.de>> wrote:



Hi all,


please take a short look at this behavior:


TestRunner openForSuite: MorphicUIManagerTest suite. "Run Selected"

<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.hpi.de_&d=DwMFaQ&c=59WElTcIEwbBjXQe6gMr9RyqhrzJYRWAhv5h0b8rPQw&r=kLkLKHssG2E-0CCrQK0G4ZYfmhf4xgJ5Z4-lug5DUv8&m=GiL_MDFq8_1Q6uMVdFUlklG5DS-pUNURkQYNhqBuwsU&s=sxYk9hiwwhJ1DKiQQZ5fqpKvX5yoNUVelOqTpxe8_Xc&e=>

At the moment (#19541), a bug in FileList2 class >> #endingSpecs (which I'm going to fix ASAP) breaks the test #testShowAllBinParts. But because ModificationForbidden is not an Error, it is not caught by the TestRunner so the whole suite run blows up, too.
I could make another example by triggering a ModificationForbidden in a #drawOn: method to destroy the whole image, too.
(Morph newSubclass compile: 'drawOn: x #(1) at: 1 put: 2'; new) openInHand)

So my question is: Why doesn't ModificationForbidden derive from Error? Isn't it actually an error? Similar illegal operations such as "#() at: 0" or "{} at: 1 put: #foo" raise some kind of Error, too. Everything I learned so far about Squeak's exception framework tells me that you should have a very good reason if you design an exception neither to derive from Error, nor from Notification. At the moment, we only do have 9 exceptions (bad pun ...) to this rule (and I'm not even sure whether MCNoChangesException couldn't be a notification, and Abort does not even have senders in the Trunk).
I'd be happy if you could give me some pointers on why ModificationForbidden does not follow this rule. How can we deal with this in order to fix the bugs/unexpected behaviors mentioned above?

I think this is an oversight in my part.  I agree that ModificationForbidden is an error.  I took the code from Pharo and didn’t notice ModificationForbidden was a Notification.

Please feel free to make it an Error.


Possibly related stuff:

  *   http://forum.world.st/Squeak-s-AssertionFailure-vs-SUnit-s-TestFailure-td5106818.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__forum.world.st_Squeak-2Ds-2DAssertionFailure-2Dvs-2DSUnit-2Ds-2DTestFailure-2Dtd5106818.html&d=DwMFaQ&c=59WElTcIEwbBjXQe6gMr9RyqhrzJYRWAhv5h0b8rPQw&r=kLkLKHssG2E-0CCrQK0G4ZYfmhf4xgJ5Z4-lug5DUv8&m=GiL_MDFq8_1Q6uMVdFUlklG5DS-pUNURkQYNhqBuwsU&s=flha9x8Pmp-f2XQJ75NCtbmlvFMJ8BVxW9EWZXeCWNU&e=>
  *   http://forum.world.st/The-Trunk-Kernel-eem-1294-mcz-td5112196.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__forum.world.st_The-2DTrunk-2DKernel-2Deem-2D1294-2Dmcz-2Dtd5112196.html&d=DwMFaQ&c=59WElTcIEwbBjXQe6gMr9RyqhrzJYRWAhv5h0b8rPQw&r=kLkLKHssG2E-0CCrQK0G4ZYfmhf4xgJ5Z4-lug5DUv8&m=GiL_MDFq8_1Q6uMVdFUlklG5DS-pUNURkQYNhqBuwsU&s=G8LZqapZe45_LYXWp0wKEVCqLqfZvI3L4H38orfJcwY&e=>
  *   http://forum.world.st/The-Trunk-Kernel-eem-1317-mcz-tp5113273p5113433.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__forum.world.st_The-2DTrunk-2DKernel-2Deem-2D1317-2Dmcz-2Dtp5113273p5113433.html&d=DwMFaQ&c=59WElTcIEwbBjXQe6gMr9RyqhrzJYRWAhv5h0b8rPQw&r=kLkLKHssG2E-0CCrQK0G4ZYfmhf4xgJ5Z4-lug5DUv8&m=GiL_MDFq8_1Q6uMVdFUlklG5DS-pUNURkQYNhqBuwsU&s=yFmOvGnXlNaAV4MacZmmg2eUUBAPdHCeoYwSsYISYpw&e=>

Best,
Christoph



**********************************************************************
This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200410/b7721b9d/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200410/b7721b9d/attachment.txt>


More information about the Squeak-dev mailing list