Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am not using try catch finally and all that time which one showing the error. please anybody help me.
Posted
Comments
Krunal Rohit 20-Nov-15 10:51am    
Okay. Help with what ? We can't do anything without seeing your code.

-KR
Suvendu Shekhar Giri 20-Nov-15 10:58am    
This is really not a question. Not using "try..catch..finally" should not give you exception . In fact these are used to handle exceptions.

Try to be more specific. Share the relevant code.
Gautham Prabhu K 20-Nov-15 11:01am    
Please rephrase the question, we are not getting what your trying to say.
Member 12154439 20-Nov-15 11:19am    
actually i am not using any exceptions so which one throw the error.which one handle the error in .net?
Patrice T 20-Nov-15 13:18pm    
We don't see tour screen, we can't read your mind ?
Rephrase your question until you can understand it without the knowledge of what you didn't told us. Nothing is obvious to us.

1 solution

The error will have a stack trace which tells you where the error is occuring. You should also implement good logging procedures.
 
Share this answer
 
Comments
Member 12154439 20-Nov-15 11:08am    
how to implement logging procedures please give me some example
ZurdoDev 20-Nov-15 11:19am    
You can use Log4Net which is a popular one or you just write your own class(es). That's what a lot of us do.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900