const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
const Boolean* pBoolean = dynamic_cast<const Boolean*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type bool and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH, "Type mismatch between requested type bool and object type.");
value = pBoolean->ToBool();
return E_SUCCESS;
const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
const Integer* pInteger = dynamic_cast<const Integer*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type int and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH, "Type mismatch between requested type int and object type.");
value = pInteger->ToInt();
return E_SUCCESS;
const _SettingItem* pItem = dynamic_cast<const _SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
const String* pString = dynamic_cast<const String*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type String and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH, "Type mismatch between requested type String and object type.");
value = *pString;
return E_SUCCESS;
_SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
Boolean* pBoolean = dynamic_cast<Boolean*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type bool and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pBoolean != null, E_TYPE_MISMATCH, "Type mismatch between requested type bool and object type.");
*pBoolean = value;
static const String strTrue(L"true");
_SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
Integer* pInteger = dynamic_cast<Integer*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type int and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pInteger != null, E_TYPE_MISMATCH, "Type mismatch between requested type int and object type.");
SysTryReturnResult(NID_APP, (pItem->GetMin() <= value), E_OUT_OF_RANGE, "value(%d) is less than minimum range(%d).",
value, pItem->GetMin());
_SettingItem* pItem = dynamic_cast<_SettingItem*>(pObject);
SysTryReturnResult(NID_APP, pItem != null, E_TYPE_MISMATCH, "Type mismatch for instance of id.");
String* pString = dynamic_cast<String*>(pItem->GetValue());
- SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH,
- "Type mismatch between requested type String and object type of %ls.", id.GetPointer());
+ SysTryReturnResult(NID_APP, pString != null, E_TYPE_MISMATCH, "Type mismatch between requested type String and object type.");
SysTryReturnResult(NID_APP, pItem->GetMin() <= value.GetLength(), E_OUT_OF_RANGE,
"value length(%d) less than minimum length(%d).", value.GetLength(), pItem->GetMin());
SetValue(strId, strValue, false);
return;
}
- SysLog(NID_APP, "Failed determin value type for id=%s", pId);
+ SysSecureLog(NID_APP, "Failed determine value type for id= %s", pId);
}
else
{
- SysLog(NID_APP, "Failed find value for id=%s", pId);
+ SysSecureLog(NID_APP, "Failed find value for id= %s", pId);
}
}