2 ms·
Thought I'd show it in Java for comparison's sake: Result do(Param a) throws Exception { T aPrime; try { aPrime = getResource(a); } catch (Recoverabl
by didibus 7y ago
Thought I'd show it in Java for comparison's sake:
Result do(Param a) throws Exception {
T aPrime;
try { aPrime = getResource(a); } catch (RecoverableError e) {
aPrime = definitelyNoErrorAlternativeGetResource(a);
}
T aPrimePrime;
... // many more steps
return doSomething(aPrimePrimePrime);
}