throwExceptions::FileDeserializationError(file.getFileName(),"object type does not match (expected "+array.getSerializationType()+", found "+type+").");
if(type!=IO::getSerializationType())
throwExceptions::FileDeserializationError(file.getFileName(),"object type does not match (expected "+IO::getSerializationType()+", found "+type+").");
throwExceptions::FileDeserializationError(file.getFileName(),"object type does not match (expected "+view.getSerializationType()+", found "+type+").");
if(type!=IO::getSerializationType())
throwExceptions::FileDeserializationError(file.getFileName(),"object type does not match (expected "+IO::getSerializationType()+", found "+type+").");