/// <summary>
 /// Replaces the exception with the configured type for the specified policy.
 /// </summary>
 /// <param name="exception">The original exception.</param>
 /// <param name="handlingInstanceId">The unique identifier attached to the handling chain for this handling instance.</param>
 /// <returns>Modified exception to pass to the next exceptionHandlerData in the chain.</returns>
 public Exception HandleException(Exception exception, Guid handlingInstanceId)
 {
     return(ReplaceException(
                ExceptionUtility.FormatExceptionMessage(ExceptionMessage, handlingInstanceId)));
 }