There are some processes that run under System account. The ones that run under system account would not be accessible. So it is better to wrap your code in a try catch block.