adding more descriptive error for documentnotfoundexception