🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #18993

Re: [ejb]exception���׳�˳��?

#18993
From: ����ڻ����У������ڴ�δ��
Date: Tue, 13 Jan 2004 08:41
25 lines
1896 bytes
bean��methods signature��û��RemoteException,������RemoteInterface ����.
������һ��,�ڵ���ejb�ķ����ĵط�,����exception������catch��.
��ô����catch RemoteException ʱ��û�б�Ҫ����ʲô? 





�� �� gjyalpha (Java Enthusiast) �Ĵ������ᵽ: ��
: ������ejb����
: void a() throws AException,RemoteException����
: �ǿͻ����Dz����յ�AException�ģ�ֻ��RemoteException
: �� �� tiim (����ڻ����У������ڴ�δ��) �Ĵ������ᵽ: ��
: : ��˵�Ķ�,���������ڿͻ���catch��ejb���׳����쳣֮��,
: : ��Ȼ��Ҫcatch RemoteException,���catch����û��ʲô��Ҫ�Ĵ���?����ʲô������?


--


 |  . ` ,  , ,-. 
 |  | | | /  |-' 
 `' `-' `'   `-' 

�� ��Դ:��Ʈ��ˮ�Ƽ� freecity.cnzju.net��[FROM: tiim]
Technical Details
Message-ID: <4AFANc$AOK@freecity.cnzju.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,4886a141f8e62122
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-01-13 00:44:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: tiim.bbs@freecity.cnzju.net (����ڻ����У������ڴ�δ��)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [ejb]exception���׳�˳��?
Date: 13 Jan 2004 08:41:44 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <4AFANc$AOK@freecity.cnzju.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1073983094.A