[squeak-dev] The Trunk: System-mt.759.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Aug 25 12:55:28 UTC 2015


Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.759.mcz

==================== Summary ====================

Name: System-mt.759
Author: mt
Time: 25 August 2015, 2:55:00.96 pm
UUID: 4ebb649f-f70f-c042-9719-f1bd01f6245e
Ancestors: System-eem.758

Adds support for unhandled warnings.

=============== Diff against System-eem.758 ===============

Item was changed:
  ----- Method: UnhandledError>>defaultAction (in category '*System-priv handling') -----
  defaultAction
  	"The current computation is terminated. The cause of the error should be logged or reported to the user. If the program is operating in an interactive debugging environment the computation should be suspended and the debugger activated."
+ 	^ToolSet debugError: self exception!
- 	^ToolSet debugError: exception.!

Item was added:
+ ----- Method: UnhandledWarning>>defaultAction (in category '*System-priv handling') -----
+ defaultAction
+ 
+ 	^ ToolSet
+ 		debugContext: self exception signalerContext
+ 		label: 'Warning'
+ 		contents: self exception messageText , '\\Select Proceed to continue, or close this window to cancel the operation.' withCRs!

Item was changed:
  ----- Method: Warning>>defaultAction (in category '*System-exceptionDescription') -----
  defaultAction
  	"Inform the user of a Warning, giving them the choice of ignoring the warning (proceeding), debugging, or terminating the computation."
+ 	UnhandledWarning signalForException: self!
- 	UnhandledError signalForException: self!



More information about the Squeak-dev mailing list