Searched refs:setError (Results 26 - 50 of 59) sorted by relevance

123

/vbox/src/VBox/Main/src-server/
H A DNetworkAdapterImpl.cpp248 return setError(E_FAIL,
364 rc = setError(E_INVALIDARG, tr("Invalid MAC address format"));
367 rc = setError(E_INVALIDARG, tr("Invalid MAC address format"));
374 rc = setError(E_INVALIDARG, tr("Invalid MAC address format"));
496 return setError(E_FAIL,
544 return setError(E_FAIL,
593 return setError(E_FAIL,
640 return setError(E_FAIL,
797 return setError(E_INVALIDARG, tr("Invalid promiscuous mode policy (%d)"), aPromiscModePolicy);
H A DSystemPropertiesImpl.cpp782 hrc = setError(E_FAIL, tr("The extension pack '%s' does not exist"), strExtPack.c_str());
828 hrc = setError(E_FAIL, tr("The extension pack '%s' does not exist"), aExtPack.c_str());
1140 return setError(E_FAIL,
1171 return setError(E_INVALIDARG,
1254 rc = setError(E_FAIL,
1264 rc = setError(E_FAIL,
1298 return setError(E_FAIL,
1303 return setError(E_INVALIDARG,
1308 return setError(E_INVALIDARG,
H A DMachineImplCloneVM.cpp215 return p->setError(VBOX_E_IPRT_ERROR, p->tr("Could not query file size of '%s' (%Rrc)"),
758 throw p->setError(E_INVALIDARG, "The source machine is mutable");
789 throw p->setError(VBOX_E_OBJECT_NOT_FOUND);
795 throw p->setError(VBOX_E_OBJECT_NOT_FOUND);
800 throw p->setError(VBOX_E_OBJECT_NOT_FOUND);
810 throw p->setError(VBOX_E_OBJECT_NOT_FOUND);
864 throw p->setError(VBOX_E_OBJECT_NOT_FOUND);
929 p->setError(VBOX_E_IPRT_ERROR, "Could not create machine clone thread (%Rrc)", vrc);
981 throw p->setError(E_FAIL,
1082 throw p->setError(VBOX_E_OBJECT_NOT_FOUN
[all...]
H A DVirtualBoxImpl.cpp379 return setError(E_FAIL,
1020 return setError(E_NOTIMPL, "Not yet implemented");
1312 return setError(E_INVALIDARG,
1505 return setError(E_INVALIDARG,
1631 true /* setError */,
1637 true /* setError */,
1775 return setError(E_INVALIDARG, "Format must be Valid Type%s", format.c_str());
1791 return setError(E_INVALIDARG, "Device type must be HardDisk, DVD or Floppy %d", aDeviceType);
1821 rc = i_findHardDiskById(id, false /* setError */, &pMedium);
1832 false /* setError */,
[all...]
H A DSnapshotImpl.cpp332 return setError(E_INVALIDARG, tr("A machine cannot have a UUID as its name"));
1428 return setError(VBOX_E_INVALID_VM_STATE,
1542 rc = setError(E_FAIL,
1567 throw setError(VBOX_E_INVALID_OBJECT_STATE,
1661 throw setError(E_FAIL, "Invalid state of saved state file");
1688 throw setError(E_FAIL, tr("Canceled"));
1951 return setError(VBOX_E_INVALID_VM_STATE,
2362 return setError(VBOX_E_INVALID_VM_STATE,
2374 return setError(VBOX_E_INVALID_VM_STATE,
2392 return setError(VBOX_E_INVALID_OBJECT_STAT
[all...]
H A DBandwidthGroupImpl.cpp66 return setError(E_INVALIDARG,
236 return setError(E_INVALIDARG,
H A DUSBDeviceFilterImpl.cpp613 return setError(E_INVALIDARG,
809 return setError(rc, "%s", errStr.c_str());
1133 return setError(E_NOTIMPL,
1148 return setError(E_NOTIMPL,
1181 return setError(E_INVALIDARG,
1184 return setError(E_INVALIDARG,
1192 return setError(E_INVALIDARG,
1265 return setError(rc, "%s", errStr.c_str());
H A DHostVideoInputDeviceImpl.cpp215 hr = pVirtualBox->setError(VBOX_E_IPRT_ERROR,
H A DHostUSBDeviceImpl.cpp369 return setError(E_INVALIDARG,
373 return setError(E_INVALIDARG,
381 return setError(E_INVALIDARG,
386 return setError(E_INVALIDARG,
392 return setError(E_INVALIDARG,
438 return setError(E_FAIL,
614 return setError(E_INVALIDARG,
H A DHostImpl.cpp991 return setError(E_INVALIDARG, tr("The aFeature value %d (%#x) is out of range."), (int)aFeature, (int)aFeature);
1080 ? setError(E_FAIL, tr("CPU no.%u is not present"), aCpuId)
1081 : setError(E_FAIL, tr("CPU no.%u is not online"), aCpuId);
1240 return setError(E_FAIL,
1294 return setError(VBOX_E_OBJECT_NOT_FOUND,
1367 return setError(VBOX_E_INVALID_OBJECT_STATE,
1371 return setError(E_INVALIDARG,
1416 return setError(E_INVALIDARG,
1420 return setError(E_INVALIDARG,
1465 rc = setError(r
[all...]
H A DVRDEServerImpl.cpp688 return setError(hrc, "failed to query the library setting\n");
810 hrc = setError(E_FAIL, tr("Extension pack '%s' does not exist"), strExtPack.c_str());
855 hrc = setError(E_FAIL, tr("Extension pack '%s' does not exist"), aExtPack.c_str());
H A DUSBControllerImpl.cpp104 return setError(E_INVALIDARG,
H A DUSBProxyService.cpp178 return setError(E_INVALIDARG,
1267 HRESULT USBProxyService::setError(HRESULT aResultCode, const char *aText, ...) function in class:USBProxyService
/vbox/src/VBox/Main/src-all/
H A DAutoCaller.cpp196 rc = mObj->setError(rc, "The object functionality is limited");
198 rc = mObj->setError(rc, "The object is not ready");
H A DSharedFolderImpl.cpp281 return setError(E_INVALIDARG,
286 return setError(E_INVALIDARG,
H A DVirtualBoxBase.cpp316 * It is possible that setError() is being called by the object
347 HRESULT VirtualBoxBase::setError(HRESULT aResultCode) function in class:VirtualBoxBase
365 HRESULT VirtualBoxBase::setError(HRESULT aResultCode, const char *pcsz, ...) function in class:VirtualBoxBase
387 HRESULT VirtualBoxBase::setError(const com::ErrorInfo &ei) function in class:VirtualBoxBase
483 * It is possible that setError() is being called by the object
506 * Like setError(), but sets the "warning" bit in the call to setErrorInternal().
526 * Like setError(), but disables the "log" flag in the call to setErrorInternal().
/vbox/src/VBox/Main/src-client/
H A DGuestFileImpl.cpp913 return pInterface->setError(VBOX_E_IPRT_ERROR, GuestFile::i_guestErrorToString(guestRc).c_str());
1249 return setError(VBOX_E_IPRT_ERROR,
1273 return setError(E_INVALIDARG, tr("The size to read is zero"));
1295 hr = setError(VBOX_E_IPRT_ERROR,
1313 return setError(E_INVALIDARG, tr("The size to read is zero"));
1334 hr = setError(VBOX_E_IPRT_ERROR,
1367 return setError(E_INVALIDARG, tr("Invalid seek type specified"));
1378 hr = setError(VBOX_E_IPRT_ERROR,
1417 hr = setError(VBOX_E_IPRT_ERROR,
1448 hr = setError(VBOX_E_IPRT_ERRO
[all...]
H A DGuestDnDTargetImpl.cpp172 return setError(E_INVALIDARG, tr("No default action specified"));
174 return setError(E_INVALIDARG, tr("Number of allowed actions is empty"));
176 return setError(E_INVALIDARG, tr("Number of supported formats is empty"));
H A DEmulatedUSBImpl.cpp216 hrc = pConsole->setError(VBOX_E_IPRT_ERROR,
316 hrc = pConsole->setError(VBOX_E_IPRT_ERROR,
335 hrc = pConsole->setError(VBOX_E_IPRT_ERROR,
H A DMouseImpl.cpp503 return setError(VBOX_E_IPRT_ERROR,
546 return setError(VBOX_E_IPRT_ERROR,
581 hrc = setError(VBOX_E_IPRT_ERROR,
612 return setError(VBOX_E_IPRT_ERROR,
H A DGuestProcessImpl.cpp984 return pInterface->setError(VBOX_E_IPRT_ERROR, GuestProcess::i_guestErrorToString(guestRc).c_str());
1740 return setError(E_INVALIDARG, tr("The size to read is zero"));
1764 hr = setError(VBOX_E_IPRT_ERROR,
1798 hr = setError(VBOX_E_IPRT_ERROR,
1804 hr = setError(VBOX_E_IPRT_ERROR,
1855 hr = setError(VBOX_E_IPRT_ERROR,
1907 hr = setError(VBOX_E_IPRT_ERROR,
H A DDisplayImpl.cpp1611 return setError(E_INVALIDARG, tr("AttachFramebuffer: Invalid screen %d (total %d)"),
1616 return setError(E_FAIL, tr("AttachFramebuffer: Framebuffer already attached to %d"),
1678 return setError(E_INVALIDARG, tr("DetachFramebuffer: Invalid screen %d (total %d)"),
1686 return setError(E_FAIL, tr("DetachFramebuffer: Invalid framebuffer object"));
1724 return setError(E_INVALIDARG, tr("QueryFramebuffer: Invalid screen %d (total %d)"),
2095 return setError(E_NOTIMPL,
2156 rc = setError(E_FAIL,
2162 rc = setError(VBOX_E_IPRT_ERROR,
2169 rc = setError(E_UNEXPECTED,
2172 rc = setError(VBOX_E_IPRT_ERRO
[all...]
/vbox/src/VBox/Runtime/r3/
H A Dxml.cpp1823 void setError(const RTCError &x) function in struct:xml::IOContext
1828 void setError(const std::exception &x) function in struct:xml::IOContext
1894 catch (const xml::EIPRTFailure &err) { pContext->setError(err); }
1895 catch (const RTCError &err) { pContext->setError(err); }
1896 catch (const std::exception &err) { pContext->setError(err); }
1897 catch (...) { pContext->setError(xml::LogicError(RT_SRC_POS)); }
2020 catch (const xml::EIPRTFailure &err) { pContext->setError(err); }
2021 catch (const RTCError &err) { pContext->setError(err); }
2022 catch (const std::exception &err) { pContext->setError(err); }
2023 catch (...) { pContext->setError(xm
[all...]
/vbox/src/VBox/Main/include/
H A DVirtualBoxErrorInfoImpl.h140 static HRESULT setError(HRESULT rc, function in class:VirtualBoxErrorInfo
H A DUSBProxyService.h104 static HRESULT setError(HRESULT aResultCode, const char *aText, ...);

Completed in 612 milliseconds

123