> -----Original Message-----
> From: Gochwal Meenu
> Sent: Wednesday, March 14, 2001 7:08 AM
> To:   sharma Sumeet
> Subject:      FW: getting error message
>
>
>
        hi
        u could use
        printStackTrace() for details

        regards
        sumeet

> Hi list,
>
> About getting the errors messages in the catch code...
> What I want it's to avoid the client to see the message, but being able to
> capture it (completly) at .log files and dbmon.exe for debugging the code.
> That's it, I want to stop 'cleanly' the html flow but still getting the
> completely message (with the line code number where the error happened)
> I've used the calls .toString() and .getMessage() in the catch code and I
> accomplish my first objective: to stop the web application in a clean way,
> but not the second one: I only get the header of the exception (pe. "java
> NullPointerException:") and I don't know the line where the error occurs.
>
> I will thank any help!!
>
> OsKaR.
>
> __________________________________________________________________________
> _
> 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

Reply via email to