Add @throws annotations. Add namespaced Invalid Argument Exception.