@Runtime public abstract class TryerCatcher extends Object
?
" construct, called from
generated, format generating code. _try()
and _catch()
, and a
subsequent call to tryIt()
will deliver a format by executing the
_try code, or, only in case of a thrown TakeAlternativeException
, the
_catch code.Constructor and Description |
---|
TryerCatcher() |
Modifier and Type | Method and Description |
---|---|
protected abstract Format |
_catch() |
protected abstract Format |
_try() |
Format |
tryIt() |
static Format |
tryIt(Supplier<? extends Format> _try,
Supplier<? extends Format> _catch) |
see also the complete user documentation .