I need to get hold of somehow the line no that an exception occurred at so
as to log it using log4j.
My ConversionPattern is set to -
log4j.appender.stdout.layout.ConversionPattern=%5p (%F:%L) - %m%n
but %L only shows the line no that log was called from.
Thought I'd cracked it when I noticed getStackTrace() method of exception
object BUT (notice the big but!), the app must work on 1.3 & getStackTrace()
wasn't introduced until 1.4.
Can I still somehow get hold of the StackTrace & retrieve the line no?
Thanks
harry