code: public void setExceptions(Class<?>[] exceptions) {
  		for (Class<?> exception : exceptions) {
  			// uses simple name because exception may be declared into .client package
  			this.exceptions.add(exception.getSimpleName());
  		}
  	}
docs: Set method exceptions list. This exceptions list is used by the logic that handle remote exception. It should be
  consistent with remote method signature.
  
  @param exceptions method exceptions list.