[Pkg] 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:

==================== 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') -----
  	"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') -----
  	"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 Packages mailing list