Ok, it turns out that desktop never throws exceptions. I have modified my alarms plugin to do the same. I also added a test case for when clear is called with an unknown alarm.