🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #189

Re: throwing exceptions

#189
From: S�ren Bak
Date: Fri, 18 Apr 2003 02:33
21 lines
1672 bytes
You can do it like this:

try {
    // throw an exception here
    ...
} catch (Throwable e) {
    // process the exception here
    ...
    // and re-throw it
    throw e;
}

Regards,
S�ren Bak

"edwin taitz" <taitz@bigpond.net.au> skrev i en meddelelse
news:puIna.11699$hF.92186@news-server.bigpond.net.au...
> is it possible to rethrow an exception.
> and if so how??
>
>
Technical Details
Message-ID: <qDIna.110$KS4.52@news.get2net.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!newsfeed.online.be!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail
References: <puIna.11699$hF.92186@news-server.bigpond.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f5d71,36528a6761383b70
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10d6db,36528a6761383b70
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 113ae9,36528a6761383b70
X-Google-Attributes: gid113ae9,public
X-Google-ArrivalTime: 2003-04-17 18:35:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!newsfeed.online.be!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail
From: "S�ren Bak" <not@for.email>
Newsgroups: aus.computers.java,comp.lang.java,comp.lang.java.help
References: <puIna.11699$hF.92186@news-server.bigpond.net.au>
Subject: Re: throwing exceptions
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <qDIna.110$KS4.52@news.get2net.dk>
Date: Fri, 18 Apr 2003 03:33:51 +0100
NNTP-Posting-Host: 195.82.219.10
X-Complaints-To: abuse@get2.net
X-Trace: news.get2net.dk 1050629718 195.82.219.10 (Fri, 18 Apr 2003 03:35:18 CEST)
NNTP-Posting-Date: Fri, 18 Apr 2003 03:35:18 CEST
Organization: get2net Internet Kunde