Throw OcException for invalid (null) parameters in Java Layer of android_api
authorLarry Sachs <larry.j.sachs@intel.com>
Thu, 29 Sep 2016 17:46:19 +0000 (10:46 -0700)
committerRick Bell <richard.s.bell@intel.com>
Fri, 30 Sep 2016 04:42:19 +0000 (04:42 +0000)
commit8282f97c1a1aecb3ae99ca119b4fd5e97957fb5e
treecc56b358c92d70925c8fe18235857d8925f73106
parent6b5e9ff337264c38951bef39fd4980ab697f14ac
Throw OcException for invalid (null) parameters in Java Layer of android_api

[IOT-1323] -- [RI][Android] observe(with QualityOfService) API does not throw OcException while passing parameter-observeType as Null value

Change-Id: If0d7acb0f5bbfda75e2fd774b6cccc8ce21e5650
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12571
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
android/android_api/base/src/androidTest/java/org/iotivity/base/SmokeTest.java
android/android_api/base/src/main/java/org/iotivity/base/OcResource.java
android/examples/fridgeclient/src/main/java/org/iotivity/base/examples/FridgeClient.java