catchAlwaysDefault property
if no individual value for catchAlways
is passed to the factory methods,
this variable defines the default.
true
: independent if there are listeners at thrownExceptions or results
the Command will catch all Exceptions that might be thrown by the
wrapped function. They will still get reported to the globalExceptionHandler
false
: unless no one listens on thrownExceptions or results, exceptions
will be rethrown. This is can be very helpful while developing.
Before the Exception is rethrown globalExeptionHandler
will be called.
Implementation
static bool catchAlwaysDefault = true;