GenericException.st
branchjv
changeset 20342 219a5a47e8b1
parent 20205 03e626304d06
parent 20261 62a8dfe1c730
child 20578 39641ba8d6e0
--- a/GenericException.st	Sat Aug 13 06:52:18 2016 +0200
+++ b/GenericException.st	Tue Aug 23 09:54:28 2016 +0100
@@ -101,7 +101,7 @@
                                       (usually the signals own messageText, but sometimes
                                        changed explicitely in #raiseWith:errorString:)
 
-        suspendedContext <Context>    the context in which the raise occured
+        suspendedContext <Context>    the context in which the raise occurred
 
         handlerContext   <Context>    the context of the handler (if any)
 
@@ -565,7 +565,7 @@
 
     con := Context findFirstSpecialHandle:true raise:false.
     [con notNil] whileTrue:[
-        (con selector == #answer:do:) ifTrue:[ 
+        (con selector == #answer:do:) ifTrue:[
             signal := con receiver.
             signal == self ifTrue:[
                 ret := con argAt:1.
@@ -926,7 +926,7 @@
      If the receiver-exception is raised during evaluation, abort
      the evaluation and return true; otherwise return false.
      This is the catch & throw mechanism found in other languages,
-     where the returned value indicates if an exception occured."
+     where the returned value indicates if an exception occurred."
 
     |raiseOccurred|
 
@@ -936,7 +936,7 @@
 
     "
      Object messageNotUnderstoodSignal catch:[
-	123 size open
+        123 size open
      ]
     "
 
@@ -1140,7 +1140,7 @@
 
 mayProceed
     "return true, if the exception handler is allowed to proceed
-     the execution where the exception occured.
+     the execution where the exception occurred.
 
      Subclasses may redefine this."
 
@@ -1255,7 +1255,7 @@
      For class based exceptions, that is the exception class;
      for signals, that is the signal itself.
      This used to be called 'signal' in earlier versions,
-     but due to the conflict with VSE, Squeak and others, 
+     but due to the conflict with VSE, Squeak and others,
      where 'signal' means 'raise', 'signal' was obsoleted by this method."
 
     signal notNil ifTrue:[^ signal] ifFalse:[^ self class]
@@ -1451,7 +1451,7 @@
 !
 
 suspendedContext
-    "return the context in which the raise occured"
+    "return the context in which the raise occurred"
 
     ^ suspendedContext
 !
@@ -1521,7 +1521,7 @@
 
 mayProceed
     "return true, if the exception handler is allowed to proceed
-     the execution where the exception occured.
+     the execution where the exception occurred.
 
      Subclasses may redefine this."