update the function class

I miss one type of method declarations in that it may throw an exception in aspect:
 
" void A.doException(int param1) throws IOException, AnotherException { } "