FilePersistenceClassNotFoundException,
FilePersistenceInvalidClassException,
FilePersistenceDataCorruptedException,
FilePersistenceNotSerializableException,
FilePersistenceTooBigForSerializationException {
final ItemTemplate itemTemplate1 = new ItemTemplate(1, "template1");
final ItemTemplate itemTemplate2 = new ItemTemplate(2, "template2");
final ItemTemplate itemTemplate3 = new ItemTemplate(3, "template3");
final IDataAccessSession session = filePersistence
.createDataAccessSession();
session.open();
final ItemTemplateList itemTemplateList = getItemTemplateList(session);
itemTemplateList.addItemTemplate(itemTemplate1);