catching exception if stack not found.