On Wed, 29 Dec 1999, ALPESH KOTHARI wrote:

> 
> Hi,
> 
> When I added 'System.out.printStackTrace()' it told
> while compilation
> Method printStackTrace() not found in class
> java.io.PrintStream.
>                                
> System.out.printStackTrace();  
> 
> I have imported java.io.*;
> What else I need to do?
> I have included postgresql.jar in my jar file.
> My classes are all in the same directory.

Woops, printStackTrace() is a method of Exception not PrintStream. Thanks
for the others who also spotted my mistake :-)

Peter

--
       Peter T Mount [EMAIL PROTECTED]
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to