Throwing an exception in an async method is not supported. Give an error in the annotation preprocessor if this situation is detected