This patch changes the NotSupported Error exception from
InvlaidOperationException to NotSupportedException
Change-Id: Ic2a16b5ee392523203354a5f31229a45b27243d2
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
-/*
+/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
throw new InvalidOperationException("Operation not in progress");
case BluetoothError.NotSupported:
- throw new InvalidOperationException("Bluetooth is not supported");
+ throw new NotSupportedException("Bluetooth is not supported");
case BluetoothError.OperationFailed:
throw new InvalidOperationException("Operation failed");