The correct is not 

try {
        //some piece of code
} catch( Exception e ) {
        e.printStackTrace( System.out );
}

???

----------
From:   ALPESH KOTHARI
Sent:   quarta-feira, 29 de dezembro de 1999 07:44
To:     Peter Mount
Cc:     [EMAIL PROTECTED]
Subject:        Re: Jar file with JDBC


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.

Thanking You,
Alpesh


=====
KOTHARI ALPESH D.
STUDENT M. TECH.
CEDT
INDIAN INSTITUTE OF SCIENCE
BANGALORE-560 012
INDIA
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com


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



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

Reply via email to