You would do that by looking at the stack trace
Thanks for your reply Paul, well as you said, it does show the stack trace. But what I have understood is the following--
if you will observe
f.getAbsolutePath(); this bit of code, stores the file path which includes
\ this sign which is escape character! but when I replaced
\ with
/ while running a program, then it runs properly. So, now I have a question that do I need to replace slashes every time I try to backup? If no then I'd request you to help me out with that. Also, teach me how to work with StackTrace please
Many Thanks!