C# Class Rainy.ErrorHandling.ExceptionHandler

ファイルを表示 Open project: Dynalon/Rainy

Public Methods

Method Description
CustomExceptionHandler ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e ) : void
CustomServiceExceptionHandler ( IHttpRequest req, object request_dto, Exception e ) : object

Private Methods

Method Description
HandleException ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e, object request_dto = null ) : void
LogExceptionDetails ( log4net.ILog logger, Exception e ) : void

Method Details

CustomExceptionHandler() public static method

public static CustomExceptionHandler ( IHttpRequest request, IHttpResponse response, string operation_name, Exception e ) : void
request IHttpRequest
response IHttpResponse
operation_name string
e System.Exception
return void

CustomServiceExceptionHandler() public static method

public static CustomServiceExceptionHandler ( IHttpRequest req, object request_dto, Exception e ) : object
req IHttpRequest
request_dto object
e System.Exception
return object