--- a/javaextensions/pim/javasrc.s60/com/nokia/mj/impl/pim/utils/NativeError.java Fri Sep 17 08:28:21 2010 +0300
+++ b/javaextensions/pim/javasrc.s60/com/nokia/mj/impl/pim/utils/NativeError.java Mon Oct 04 00:10:53 2010 +0300
@@ -644,7 +644,8 @@
}
}
}
- public static void handleCreateCalendarError(int aNativeErrorCode, String aCalName)
+ public static void handleCreateCalendarError(int aNativeErrorCode, String aCalName)
+ throws PIMException
{
@@ -669,7 +670,7 @@
}
case OsErrorMessage.KERR_ALREADY_EXISTS:
{
- throw new RuntimeException(ErrorString.CALENDAR_ALREADY_EXISTS);
+ throw new PIMException(ErrorString.CALENDAR_ALREADY_EXISTS, PIMException.GENERAL_ERROR);
}
default:
{