From 046083ce06b6dba8f2f93b9de11f096a67b8b47d Mon Sep 17 00:00:00 2001 From: Jeesun Kim Date: Thu, 12 Oct 2017 17:11:08 +0900 Subject: [PATCH] [Calendar]Remove invalid exception Change-Id: I8acfda809aa4e4293bb6015c64d41bd07ce79da3 --- src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs | 3 --- src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs | 2 -- src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs | 1 - src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarStructs.cs | 6 ------ 4 files changed, 12 deletions(-) diff --git a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs index 4bf80f1..c088bd5 100644 --- a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs +++ b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs @@ -263,7 +263,6 @@ namespace Tizen.Pims.Calendar /// http://tizen.org/feature/calendar /// Thrown when feature is not supported /// Thrown when method failed due to invalid operation - /// Thrown when one of the arguments provided to a method is not valid /// Thrown when failed due to out of memory /// Thrown when application does not have proper privileges [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")] @@ -368,7 +367,6 @@ namespace Tizen.Pims.Calendar /// http://tizen.org/feature/calendar /// Thrown when feature is not supported /// Thrown when method failed due to invalid operation - /// Thrown when one of the arguments provided to a method is not valid /// Thrown when failed due to out of memory /// Thrown when application does not have proper privileges public void Delete(CalendarList list) @@ -560,7 +558,6 @@ namespace Tizen.Pims.Calendar /// http://tizen.org/feature/calendar /// Thrown when feature is not supported /// Thrown when method failed due to invalid operation - /// Thrown when one of the arguments provided to a method is not valid /// Thrown when failed due to out of memory /// Thrown when application does not have proper privileges [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")] diff --git a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs index ce1015a..9c8b7d0 100644 --- a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs +++ b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs @@ -133,7 +133,6 @@ namespace Tizen.Pims.Calendar /// The record to be added /// http://tizen.org/feature/calendar /// Thrown when feature is not supported - /// Thrown when one of the arguments provided to a method is not valid public void AddRecord(CalendarRecord record) { int error = Interop.List.Add(_listHandle, record._recordHandle); @@ -154,7 +153,6 @@ namespace Tizen.Pims.Calendar /// The record to be removed /// http://tizen.org/feature/calendar /// Thrown when feature is not supported - /// Thrown when one of the arguments provided to a method is not valid public void RemoveRecord(CalendarRecord record) { int error = Interop.List.Remove(_listHandle, record._recordHandle); diff --git a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs index 050e7a8..68c715c 100644 --- a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs +++ b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs @@ -129,7 +129,6 @@ namespace Tizen.Pims.Calendar /// If true it is set, otherwise if false it is unset /// http://tizen.org/feature/calendar /// Thrown when feature is not supported - /// Thrown when one of the arguments provided to a method is not valid public void SetDistinct(bool set) { int error = Interop.Query.SetDistinct(_queryHandle, set); diff --git a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarStructs.cs b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarStructs.cs index 15187cc..0ddbac9 100644 --- a/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarStructs.cs +++ b/src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarStructs.cs @@ -67,8 +67,6 @@ namespace Tizen.Pims.Calendar /// hour /// minute /// second - /// Thrown when one of the arguments provided to a method is not valid - /// Thrown when failed due to out of memory public CalendarTime(int year, int month, int day, int hour, int minute, int second) { _type = (int)Type.Local; @@ -103,8 +101,6 @@ namespace Tizen.Pims.Calendar /// /// A 32-bit signed integer that indicates the relative order of the objects being compared. /// - /// Thrown when one of the arguments provided to a method is not valid - /// Thrown when failed due to out of memory public int CompareTo(CalendarTime other) { if (_type != other._type) @@ -127,8 +123,6 @@ namespace Tizen.Pims.Calendar /// /// A 32-bit signed integer that indicates the relative order of the objects being compared. /// - /// Thrown when one of the arguments provided to a method is not valid - /// Thrown when failed due to out of memory public override bool Equals(object obj) { var other = obj as CalendarTime; -- 2.7.4