CannotReturnError.st
author Claus Gittinger <cg@exept.de>
Sun, 27 Apr 2003 17:40:18 +0200
changeset 7241 06359d192b65
parent 7233 52b21f304183
child 7589 2ac0ac814fc8
permissions -rw-r--r--
comment
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5998
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:libbasic' }"
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
ContextError subclass:#CannotReturnError
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	instanceVariableNames:''
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
	classVariableNames:''
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
	poolDictionaries:''
6009
a24f4df1cbef category change
Claus Gittinger <cg@exept.de>
parents: 5998
diff changeset
     7
	category:'Kernel-Methods'
5998
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
!
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
7233
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    10
!CannotReturnError class methodsFor:'documentation'!
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    11
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    12
documentation
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    13
"
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    14
    Raised if a method which was compiled non-resumable is asked to return.
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    15
    As non-resumable code is faster and shorter, the compilers do not
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    16
    generate resumable code by default.
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    17
    Resumability can be enforced by a compiler switch or via a #return/#resume directive.
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    18
"
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    19
! !
5998
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!CannotReturnError class methodsFor:'documentation'!
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
version
7233
52b21f304183 comments
Claus Gittinger <cg@exept.de>
parents: 6009
diff changeset
    24
    ^ '$Header: /cvs/stx/stx/libbasic/CannotReturnError.st,v 1.3 2003-04-24 08:25:28 cg Exp $'
5998
c52f7b88e059 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
! !