Skip to content

Commit 65604d6

Browse files
authored
Merge pull request #357 from santana/patch-1
Fix Exceptions.md example for ex retryUsing
2 parents 5f120fd + 3a30bb9 commit 65604d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

General/Exceptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Here is a picture of the context stack (a.k.a. call stack) explaining this opera
135135
### Retry
136136
**Syntax:**
137137
`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 ]`
139139

140140
**Synopsis:**
141141
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
190190

191191
## Credits
192192
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).
193-
Pictures by Thomas Dupriez.
193+
Pictures by Thomas Dupriez.

0 commit comments

Comments
 (0)