baseException = addCause(baseException,causeException)
modifies
the existing baseException
= addCause(baseException
,causeException
)MException
object baseException
by
appending causeException
to its cause
property.
Catching the resulting exception in a try/catch
statement
makes the base exception, along with all of the appended cause records,
available to help diagnose the error.
assert
| error
| MException
| MException.getReport
| MException.last
| MException.rethrow
| MException.throw
| MException.throwAsCaller
| try, catch