X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcollection.cpp;fp=source%2Fcollection.cpp;h=aa607bdedcde65ecfd298b21af06fc9dc42aeac2;hb=00795982c9a99dcad69b33f75d38328165bd5df8;hp=984fb74da8e7a6007645e6f85aa002b8ae6f894a;hpb=e3cfc75aa5be3238776caec7f1a437ece7aefa51;p=libs%2Fdatafile.git diff --git a/source/collection.cpp b/source/collection.cpp index 984fb74..aa607bd 100644 --- a/source/collection.cpp +++ b/source/collection.cpp @@ -97,7 +97,7 @@ IO::Seekable *Collection::open_from_sources(const string &name) if(IO::Seekable *io = (*i)->open(name)) return io; - throw IO::file_not_found(name); + return 0; } void Collection::gather_names_from_sources(list &names, const CollectionItemTypeBase &type) const