|
|
|
|
|
by sclangdon
2746 days ago
|
|
Whilst I agree with you that this isn't the best use of exceptions, one reason to use them this way might be because exceptions (generally) don't cost anything on the success path. if statements do. Of course exceptions cost a lot more on the failure path, but that's not generally the priority. |
|