Working on an issue with annotations and throws