Y
Hacker News
new
|
ask
|
show
|
jobs
by
rockyj
224 days ago
I agree, this was just a sample code to show how usually imperative if / else / try / catch code is written. What is also possible is we catch the exception, log it and throw another one.