Removed unnecessary exception declaration in CapDevice.cs