Fix : Remove exception handling codes at the sample code
[platform/framework/native/content.git] / inc / FCntIContentTransferListener.h
index 5e54c4d..947db47 100644 (file)
@@ -15,7 +15,7 @@
 //
 /**
  * @if OSPDEPREC
- * @file                       FCntIContentTransferListener.h
+ * @file               FCntIContentTransferListener.h
  * @brief              This is the header file for the %IContentTransferListener interface.
  *
  * This header file contains the declarations of the %IContentTransferListener interface.
@@ -38,9 +38,9 @@ namespace Tizen { namespace Content
 /**
  * @if OSPDEPREC
  * @interface IContentTransferListener
- * @brief      <i> [Deprecated] </i> This interface provides event handlers that receive the events associated with ContentTransfer.
+ * @brief      <i> [Deprecated] </i> This interface provides event handlers that receive the events associated with %ContentTransfer.
  *
- * @deprecated This class is deprecated. Instead of using this class, use DownloadManager class.
+ * @deprecated This class is deprecated. Instead of using this class, use the DownloadManager class.
  * @since      2.0
  *
  * The %IContentTransferListener interface handles the content download events.
@@ -55,7 +55,7 @@ public:
         * This way, the destructors of the derived classes are called when the destructor of this interface is called.
         *
         * @brief       <i> [Deprecated] </i>
-        * @deprecated  This class is deprecated. Instead of using this class, use DownloadManager class.
+        * @deprecated  This class is deprecated. Instead of using this class, use the DownloadManager class.
         * @since       2.0
         */
        virtual ~IContentTransferListener(void) {}
@@ -64,69 +64,69 @@ public:
         * Called when the content transfer is in progress.
         *
         * @brief       <i> [Deprecated] </i>
-        * @deprecated  This class is deprecated. Instead of using this class, use DownloadManager class.
+        * @deprecated  This class is deprecated. Instead of using this class, use the DownloadManager class.
         * @since                       2.0
         *
-        * @param[in]   reqId                   The request ID
+        * @param[in]   reqId                                   The request ID
         * @param[in]   totalTransferedSize             The total size of the data to transfer in bytes
         */
        virtual void OnContentTransferInProgress(RequestId reqId, int totalTransferedSize) = 0;
 
        /**
-        * Called when a download operation is completed.
+        * Called when the download operation is completed.
         *
         * @brief       <i> [Deprecated] </i>
-        * @deprecated  This class is deprecated. Instead of using this class, use DownloadManager class.
+        * @deprecated  This class is deprecated. Instead of using this class, use the DownloadManager class.
         * @since                       2.0
         *
-        * @param[in]   reqId           The request ID
-        * @param[in]   contentId       The registered content ID
-        * @param[in]   r                       The result of the download
-        * @param[in]   errorCode       The error code from the server
-        * @param[in]   errorMessage    The error message from the server
-        * @exception   E_SUCCESS               The method is successful.
-        * @exception   E_SERVER                An error has occurred on the server side.
+        * @param[in]   reqId                           The request ID
+        * @param[in]   contentId                       The registered content ID
+        * @param[in]   r                                       The result of the download
+        * @param[in]   errorCode                       The error code from the server
+        * @param[in]   errorMessage            The error message from the server
+        * @exception   E_SUCCESS                       The method is successful.
+        * @exception   E_SERVER                        An error has occurred on the server side.
         * @exception   E_CONNECTION_FAILED The server connection has failed.
-        * @exception   E_ILLEGAL_ACCESS        The request to access a server is illegal.
+        * @exception   E_ILLEGAL_ACCESS        The request to access the server is illegal.
         * @exception   E_STORAGE_FULL          The storage is full.
         * @exception   E_OUT_OF_MEMORY         The memory is insufficient.
-        * @exception   E_SYSTEM                A system error has occurred.
+        * @exception   E_SYSTEM                        A system error has occurred.
         */
        virtual void OnContentDownloadCompleted(RequestId reqId, ContentId contentId, result r, const Tizen::Base::String& errorCode, const Tizen::Base::String& errorMessage) = 0;
 
        /**
-        * Called when a download to buffer operation is completed.
+        * Called when the download to buffer operation is completed.
         *
         * @brief       <i> [Deprecated] </i>
-        * @deprecated  This class is deprecated. Instead of using this class, use DownloadManager class.
+        * @deprecated  This class is deprecated. Instead of using this class, use the DownloadManager class.
         * @since                       2.0
         *
-        * @param[in]   reqId           The request ID
-        * @param[in]   pBuffer         The binary buffer that has been downloaded
-        * @param[in]   r                       The result of the download
-        * @param[in]   errorCode       The error code from the server
-        * @param[in]   errorMessage    The error message from the server
-        * @exception   E_SUCCESS               The method is successful.
-        * @exception   E_SERVER                An error has occurred on the server side.
+        * @param[in]   reqId                            The request ID
+        * @param[in]   pBuffer                          The binary buffer that is downloaded
+        * @param[in]   r                                        The result of the download
+        * @param[in]   errorCode                        The error code from the server
+        * @param[in]   errorMessage             The error message from the server
+        * @exception   E_SUCCESS                        The method is successful.
+        * @exception   E_SERVER                         An error has occurred on the server side.
         * @exception   E_FILE_ALREADY_EXIST The specified file already exists.
-        * @exception   E_STORAGE_FULL          The storage is full.
-        * @exception   E_CONNECTION_FAILED The server connection has failed.
-        * @exception   E_ILLEGAL_ACCESS        The request to access a server is illegal.
-        * @exception   E_OUT_OF_MEMORY         The memory is insufficient.
-        * @exception   E_SYSTEM                A system error has occurred.
+        * @exception   E_STORAGE_FULL           The storage is full.
+        * @exception   E_CONNECTION_FAILED  The server connection has failed.
+        * @exception   E_ILLEGAL_ACCESS         The request to access the server is illegal.
+        * @exception   E_OUT_OF_MEMORY          The memory is insufficient.
+        * @exception   E_SYSTEM                         A system error has occurred.
         */
        virtual void OnContentDownloadToBufferCompleted(RequestId reqId, Tizen::Base::ByteBuffer* pBuffer, result r, const Tizen::Base::String& errorCode, const Tizen::Base::String& errorMessage) = 0;
 
        /**
-       * Called when a transfer operation is cancelled.
+       * Called when the transfer operation is cancelled.
         *
-        * @brief       <i> [Deprecated] </i>
+        * @brief               <i> [Deprecated] </i>
         * @deprecated  This class is deprecated. Instead of using this class, use DownloadManager class.
-        * @since                       2.0
+        * @since               2.0
         *
-        * @param[in]   reqId           The request ID
-        * @param[in]   r                       The result of the transfer
-        * @param[in]   errorCode       The error code from the server
+        * @param[in]   reqId                   The request ID
+        * @param[in]   r                               The result of the transfer
+        * @param[in]   errorCode               The error code from the server
         * @param[in]   errorMessage    The error message from the server
         * @exception   E_SUCCESS               The method is successful.
         * @exception   E_SERVER                An error has occurred on the server side.