C# Класс Rainy.ErrorHandling.ExceptionHandler

Показать файл Открыть проект

Открытые методы

Метод Описание
CustomExceptionHandler ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e ) : void
CustomServiceExceptionHandler ( IHttpRequest req, object request_dto, Exception e ) : object

Приватные методы

Метод Описание
HandleException ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e, object request_dto = null ) : void
LogExceptionDetails ( log4net.ILog logger, Exception e ) : void

Описание методов

CustomExceptionHandler() публичный статический Метод

public static CustomExceptionHandler ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e ) : void
request IHttpRequest
response IHttpResponse
operation_name string
e System.Exception
Результат void

CustomServiceExceptionHandler() публичный статический Метод

public static CustomServiceExceptionHandler ( IHttpRequest req, object request_dto, Exception e ) : object
req IHttpRequest
request_dto object
e System.Exception
Результат object