handle Exception
handles the specified exception with respect to registered handlers. The following logic is implemented:
execute the chain of matching
logmethods starting with the most specific. Every log-method is free to call ExceptionManager.proceed that will call the next best matching method.execute the chain of matching
wrapmethods starting with the most specific. Every wrap-method is free to call ExceptionManager.proceed that will call the next best matching method. Any explicitthrowstatement will terminate the chain and the toplevelhandleExceptioncall. Otherwise the resulting - possibly transformed - objects will be returned.
If no matching wrap method can be identified the call will throw a MethodDispatcher.NoApplicableMethodError.
Return
the - possibly transformed - exception
Parameters
the original exception.