code: public void addCategory(String category) throws JSONException {
  		logger.debug("Adding category [" + category + "]");
  		put("category", category, this.apsDictionary, true);
  	}
docs: Add a category.
  
  @param category the category of a message
  @throws JSONException