异常块 [英] Exception block

查看:36
本文介绍了异常块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的asp.net应用程序中使用Exception块,但显然

现在有两件事可用:

1)旧异常块

2)企业库中表示的异常块。


我以为我读到了他们不再使用ApplicationException的地方
$ Elb中的
我不想使用Elib,因为我唯一需要的是一个

异常块。


是否有人可以帮助我找到我的路径: - )?


非常感谢

解决方案

你好JT:


您可以从EL中选择您需要的部件/项目 - 无需

吞下整个药丸。


-

Scott
http://www.OdeToCode.com / blogs / scott /

星期五,2005年6月3日09:36:41 -0700,J-T <的J - * @ microsft.com>写道:

我想在我的asp.net应用程序中使用Exception块,但显然
现在有两件事可用:
1)Old异常块
2)企业库中表示的异常块。

我以为我读过他们不再使用ApplicationException
在Elib而且我不想使用Elib作为我唯一需要的是一个
异常块。

是否有人可以帮助我找到我的路径:-)?

非常感谢



但据我所知,所有应用程序块都依赖于

配置块。这是真的?


" Scott Allen" < SC *** @ nospam.odetocode.com>在消息中写道

新闻:o0 ******************************** @ 4ax.com ...

你好JT:

您可以从EL中选择您需要的部件/项目 - 无需吞下整个药丸。

-
Scott
http:/ /www.OdeToCode.com/blogs/scott/

2005年6月3日星期五09:36:41 -0700,J-T <的J - * @ microsft.com>写道:

我想在我的asp.net应用程序中使用Exception块,但显然
现在有两件事可用:
1)Old异常块
2)企业库中表示的异常块。

我以为我读过他们不再使用ApplicationException
在Elib而且我不想使用Elib作为我唯一需要的是一个
异常块。

是否有人可以帮助我找到我的路径:-)?

非常感谢



这是真的。


-

Scott
http://www.OdeToCode.com/blogs/scott/


星期五,2005年6月3日11:10:52 -0700,J-T <的J - * @ microsft.com>写道:

但据我所知,所有应用程序块都依赖于配置块。这是真的吗?

;斯科特艾伦 < SC *** @ nospam.odetocode.com>在消息中写道
新闻:o0 ******************************** @ 4ax.com ..。<你好,JT:

你可以从EL中挑选你需要的部分/项目 - 不需要吞下整个药丸。
-
Scott
http://www.OdeToCode .com / blogs / scott /
2005年6月3日星期五09:36:41 -0700,J-T <的J - * @ microsft.com>写道:

我想在我的asp.net应用程序中使用Exception块,但显然
现在有两件事可用:
1)Old异常块
2)企业库中表示的异常块。

我以为我读过他们不再使用ApplicationException
在Elib而且我不想使用Elib作为我唯一需要的是一个
异常块。

是否有人可以帮助我找到我的路径:-)?

非常感谢




I''d like to use Exception block for my asp.net application,but apparently
there are two things available now:
1)Old exception block
2) exception block represented in enterprise library.

I thought I read somewhere they are not using ApplicationException anymore
in Elib and I don;t want to use Elib as the only thing I need is an
Exception block.

Is there someone who can help me finding my path:-)?

Thanks a lot

解决方案

Hi J-T:

You can pick just the pieces / projects you need from EL - no need to
swallow the whole pill.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:

I''d like to use Exception block for my asp.net application,but apparently
there are two things available now:
1)Old exception block
2) exception block represented in enterprise library.

I thought I read somewhere they are not using ApplicationException anymore
in Elib and I don;t want to use Elib as the only thing I need is an
Exception block.

Is there someone who can help me finding my path:-)?

Thanks a lot




But as far as I know all tghe application blocks are kind of dependant on
the Configuration block.Is that true?

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:o0********************************@4ax.com...

Hi J-T:

You can pick just the pieces / projects you need from EL - no need to
swallow the whole pill.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:

I''d like to use Exception block for my asp.net application,but apparently
there are two things available now:
1)Old exception block
2) exception block represented in enterprise library.

I thought I read somewhere they are not using ApplicationException anymore
in Elib and I don;t want to use Elib as the only thing I need is an
Exception block.

Is there someone who can help me finding my path:-)?

Thanks a lot



That is true.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 3 Jun 2005 11:10:52 -0700, "J-T" <J-*@microsft.com> wrote:

But as far as I know all tghe application blocks are kind of dependant on
the Configuration block.Is that true?

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:o0********************************@4ax.com.. .

Hi J-T:

You can pick just the pieces / projects you need from EL - no need to
swallow the whole pill.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 3 Jun 2005 09:36:41 -0700, "J-T" <J-*@microsft.com> wrote:

I''d like to use Exception block for my asp.net application,but apparently
there are two things available now:
1)Old exception block
2) exception block represented in enterprise library.

I thought I read somewhere they are not using ApplicationException anymore
in Elib and I don;t want to use Elib as the only thing I need is an
Exception block.

Is there someone who can help me finding my path:-)?

Thanks a lot




这篇关于异常块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆