View mode: basic / threaded / horizontal-split · Log in · Help
June 23, 2005
Howto "pass" exception.
This is a 'concept code':

try{
//smth
}catch{
writef("catched\n");
throw;  // HERE is bug
}

I can't find an answer in the Internet.
-- 
Dawid Ciężarkiewicz | arael
June 23, 2005
Re: Howto "pass" exception.
On Thu, 23 Jun 2005 23:37:35 +0200, Dawid Ciężarkiewicz wrote:

> This is a 'concept code':
> 
> try{
>  //smth
> }catch{
>  writef("catched\n");
>  throw;  // HERE is bug
> }
> 
> I can't find an answer in the Internet.

try{
 //smth
}catch (Object e){
 writef("catched\n");
 throw e;
}

-- 
Derek Parnell
Melbourne, Australia
24/06/2005 8:02:42 AM
Top | Discussion index | About this forum | D home