Added throws attribute to parameters
This enables gapi to decide whether a parameter is really throwing or should be handled as a usual parameter