on 01-28-2008 10:52 AM
Hi,
When i run my Application I get an Exception
"com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null"
Now i need to explore more on this type of Exception's ...
So i need something like a Stack Trace.
What my question is ,how can i implement Stack Trace feature in my application.
can anyone suggest me a piece of code on how i can implement Stack Trace functionality.
Thanks and regards,
Chandrashekar.
Hi,
Go through this
Enabling Logging for an Application http://help.sap.com/saphelp_nw70/helpdata/en/c6/cc218997893949900a1eafca819246/content.htm
How to Write Useful Log and Trace Messages
http://help.sap.com/saphelp_nw70/helpdata/en/f4/d1e6418b7eca17e10000000a155106/content.htm
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandrashekar,
Use this in ur catch block
try
{
}
catch(Exception e)
{
StackTraceElement[] trace = e.getStackTrace();
for(int a = 0; a< trace.length;a++)
{
Print ur trace here as trace[a]; using message manager
}
}
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.