Fixed issue with exception not being throws from the function annotation
parser