You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: General/Exceptions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ Here is a picture of the context stack (a.k.a. call stack) explaining this opera
135
135
### Retry
136
136
**Syntax:**
137
137
`protectedBlock on: anExceptionClass do: [:ex | ex retry ]`
138
-
or: `protectedBlock on: anExceptionClass do: [:ex | ex retry: aBlock ]`
138
+
or: `protectedBlock on: anExceptionClass do: [:ex | ex retryUsing: aBlock ]`
139
139
140
140
**Synopsis:**
141
141
Re-execute the protected block (if using `#retry`), or replace the protected block with a different block and then re-execute it (if using `#retryUsing:`).
@@ -190,4 +190,4 @@ The following image gives a graphical view of what happens when an exception is
190
190
191
191
## Credits
192
192
Parts of this page are based on the **Handling Exceptions** chapter of the [Deep Into Pharo book](http://files.pharo.org/books-pdfs/deep-into-pharo/2013-DeepIntoPharo-EN.pdf).
0 commit comments