- Updated caught exceptions to include UnauthorizedAccessException.