コード例 #1
0
        public static void HandleInterfaceException(Exception ex)
        {
            ExceptionHandlerFactory factory = new ExceptionHandlerFactory();
            ExceptionhandlerBase    handler = factory.GetExceptionHandler(ExceptionHandlerConst.INTERFACE_EXCEPTION_POLICY);

            handler.HandleException(ex);
        }
コード例 #2
0
        public static void HandleServiceException(Exception ex)
        {
            ExceptionHandlerFactory factory = new ExceptionHandlerFactory();
            ExceptionhandlerBase    handler = factory.GetExceptionHandler(ExceptionHandlerConst.SERVICE_EXCEPTION_POLICY);

            handler.HandleException(ex);
        }