CannotReturnError.st
changeset 7233 52b21f304183
parent 6009 a24f4df1cbef
child 7589 2ac0ac814fc8
--- a/CannotReturnError.st	Thu Apr 24 10:21:14 2003 +0200
+++ b/CannotReturnError.st	Thu Apr 24 10:26:02 2003 +0200
@@ -7,9 +7,19 @@
 	category:'Kernel-Methods'
 !
 
+!CannotReturnError class methodsFor:'documentation'!
+
+documentation
+"
+    Raised if a method which was compiled non-resumable is asked to return.
+    As non-resumable code is faster and shorter, the compilers do not
+    generate resumable code by default.
+    Resumability can be enforced by a compiler switch or via a #return/#resume directive.
+"
+! !
 
 !CannotReturnError class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CannotReturnError.st,v 1.2 2001-09-07 18:57:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CannotReturnError.st,v 1.3 2003-04-24 08:25:28 cg Exp $'
 ! !