Ejemplo n.º 1
0
        protected override void TranslateException(ref Exception e, out ErrorCategory category)
        {
            LocalizedException ex = RequestTaskHelper.TranslateExceptionHandler(e);

            if (ex == null)
            {
                ErrorCategory errorCategory;
                base.TranslateException(ref e, out errorCategory);
                category = errorCategory;
                return;
            }
            e        = ex;
            category = ErrorCategory.ResourceUnavailable;
        }