ThrowOnError
ThrowOnError(menu->SetEntry(&entry));
ThrowOnError(menu->SetEntry(entry));
ThrowOnError(conflictingEntry.Remove());
ThrowOnError(srcEntry->GetRef(&ref));
ThrowOnError(srcLink.SetTo(srcEntry));
ThrowOnError(size);
ThrowOnError(destDir->CreateSymLink(destName, linkpath, &newLink));
ThrowOnError(existingEntry.Remove());
ThrowOnError(find_directory(B_USER_SETTINGS_DIRECTORY,
ThrowOnError(fContainer->Rewind());
ThrowOnError(BNodeInfo(file).SetType(