I am facing this situation where I have my method which throws some exception. I mask the exception so that it is not shown what exactly is, however in the stack trace the method it comes from is also shown. The code is something like this: In the stacktrace I get: I would like to remove this methodForHiding from the