[server][ItemDataException] Add a new method: getType().