Merge "Add deprecate tag on API reference" into tizen_2.2
authorJungHoon Kim <david_kim31@samsung.com>
Thu, 4 Jul 2013 07:27:57 +0000 (07:27 +0000)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 4 Jul 2013 07:27:57 +0000 (07:27 +0000)
inc/FBaseErrors.h
src/base/FBaseResult.cpp
src/text/FText_GsmEncodingCore.cpp
src/text/FText_Iso885916EncodingCore.cpp
src/text/FText_Ucs2EncodingCore.cpp

index 7b2a53d..5cc0322 100644 (file)
 /** Thrown when OpenGL operation failed. */
 #define E_OPENGL_ERROR                  (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2509))
 
+/** Thrown when the application does not register the log scope or
+ *     registered log scope is not matched with query condition (log type or log provider) specified in Query() API. */
+#define E_OBJ_NOT_REGISTERED           (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2510))
+
 
 //----------------------------------------------------------------------------P
 /** (specialized) Thrown when the requested Bluetooth pairing fails. */
index 254343e..51914f4 100644 (file)
@@ -231,7 +231,8 @@ const char* __errTable2500[] =
        "E_OUT_OF_MEMORY",          //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2506))
        "E_OUT_OF_RANGE",           //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2507))
        "E_OVERFLOW",               //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2508))
-       "E_OPENGL_ERROR"            //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2509))
+       "E_OPENGL_ERROR",           //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2509))
+       "E_OBJ_NOT_REGISTERED"      //(ERR_SRC_FRAMEWORK + SET_E_CAUSE(2510))
 };
 
 const char* __errTable2600[] =
index 9895049..f8455c3 100644 (file)
@@ -79,7 +79,7 @@ _GsmEncodingCore::~_GsmEncodingCore(void)
 _EncodingCore*
 _GsmEncodingCore::GetEncodingCoreImplN(const Tizen::Base::String& encodingFrom, const Tizen::Base::String& encodingTo)
 {
-       SysTryReturn(NID_TEXT, encodingFrom == L"GSM", null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is the unsupported type.");
+       SysTryReturn(NID_TEXT, encodingFrom == L"GSM", null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is not the GSM encoding type.");
        _GsmEncodingCore* pEncoderDecoder = new (std::nothrow) _GsmEncodingCore;
        SysTryReturn(NID_TEXT, pEncoderDecoder, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed", GetErrorMessage(E_OUT_OF_MEMORY));
        return pEncoderDecoder;
index cc7490d..d71497d 100644 (file)
@@ -59,7 +59,7 @@ _Iso885916EncodingCore::~_Iso885916EncodingCore(void)
 _EncodingCore*
 _Iso885916EncodingCore::GetEncodingCoreImplN(const Tizen::Base::String& encodingFrom, const Tizen::Base::String& encodingTo)
 {
-       SysTryReturn(NID_TEXT, encodingFrom == L"ISO-8859-16", null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is the unsupported type.");
+       SysTryReturn(NID_TEXT, encodingFrom == L"ISO-8859-16", null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is not the ISO-8859-16 type.");
        _Iso885916EncodingCore* pEncodingCore = new (std::nothrow) _Iso885916EncodingCore;
        SysTryReturn(NID_TEXT, pEncodingCore, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed", GetErrorMessage(E_OUT_OF_MEMORY));
        return pEncodingCore;
index 248e38a..af9b1f2 100644 (file)
@@ -57,7 +57,7 @@ _Ucs2EncodingCore::GetEncodingCoreImplN(const Tizen::Base::String& encodingFrom,
        encodingStr.Replace(L"-", "");
        encodingStr.Replace("_", "");
 
-       SysTryReturn(NID_TEXT, encodingStr.StartsWith(L"UCS2", 0), null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is the unsupported type");
+       SysTryReturn(NID_TEXT, encodingStr.StartsWith(L"UCS2", 0), null, E_UNSUPPORTED_TYPE, "[E_UNSUPPORTED_TYPE] It is not the UCS2 type.");
 
        if ((encodingStr == "UCS2") || (encodingStr == "UCS2BE") || (encodingStr == "UCS2LE"))
        {