If you compiled your class with debugging information (use the -g option), then the line number table is in each class.
You can view the line number table using javap, which is part of the JDK.
The output lists each method, something like:
Code:
public void startApp();
LineNumberTable:
line 10: 0
line 12: 5
line 14: 18
line 15: 30
line 17: 37
line 19: 45
line 20: 50
For each line number, the bytecode offset where that line starts is given.
An exception can be thrown from any bytecode instruction in that line. For example, in the output above, an exception from any offset from +30 to +36 is from line 15 in the original source code.