If you want to catch errors, of course you would use a try, catch block (and
perhaps finally). So you would catch the most specific error "first" and go
up the exception tree from there. Of course the class you are working with
would be capable of throwing the exception or try writing your own. In your
catch block you can have something print out telling which exception is
caught. Hope this helps.

T. Kochanowicz


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Satish Verma
Sent: Sunday, July 22, 2001 4:51 AM
To: [EMAIL PROTECTED]
Subject: http error


hi

i am a beginner . i am trying to develop an automated tool for functional
testing . one of the first objectives is to VERIFY http errors , no
application error .can someone give me an hint on how to do it .

regards
satish

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

  • http error Satish Verma
    • Tom & Sharon Kochanowicz

Reply via email to