Throw OcException for invalid (null) parameters in Java Layer of android_api.
authorLarry Sachs <larry.j.sachs@intel.com>
Fri, 16 Sep 2016 17:22:28 +0000 (10:22 -0700)
committerRick Bell <richard.s.bell@intel.com>
Wed, 28 Sep 2016 23:47:49 +0000 (23:47 +0000)
commitf68939b5b2e2bd0d90d0f2a35e435168b75ebd47
treec190497397024e4a79074b87cc4cb8f1ffc9b96b
parentdc1a166054876718dfb3bdff7345c79600526d46
Throw OcException for invalid (null) parameters in Java Layer of android_api.

[IOT-1254] -- OcPlatform.notifyListOfObservers() ocObservationIdList is null.
[IOT-1255] -- OcResource.observe() observeType is null.
[IOT-1256] -- OcPlatform.bindResources() ocResourceHandleList is null.
[IOT-1257] -- OcPlatform.unbindResources() ocResourceHandleList is null.

Change-Id: Ib1c20dba6d0e85a05e8099ba1276d65334560c9d
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11877
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/main/java/org/iotivity/base/OcPlatform.java
android/android_api/base/src/main/java/org/iotivity/base/OcResource.java