TurbineException closes the System.err stream after calling printStackTrace.

-- Ilkka

>   public void printStackTrace()
>    {
>        synchronized(System.err) 
>        {
>            printStackTrace(System.err);
>        }
>    }
> 
>    public void printStackTrace(PrintStream out) 
>    {
>        synchronized(out) 
>        {
>            PrintWriter pw=new PrintWriter(out, false);
>            printStackTrace(pw);
>            // flush the PrintWriter before it's GCed
>            pw.flush();
>            pw.close();
>        }
>    }

--
Nokia Networks 
http://www.nokia.com/networks
mail: [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to