When developing an application, we normally use different functions from different classes. Now a function can be written in a way, where only the different functions are called. So 
I just want to know suppose I am having a function where I have called some other functions and also having unique code in that function. So how I will know for a bigger project, that from which line for a particular function, exception is occurring in Java.

At most, right now I can detect only from which function exception is occurring. But I need specific portion(specific line) of that function where the exception is occurring.

Any helpful answer will be appreciated.......Thanks in advance......!!!!!