--- linuxsampler/trunk/src/db/InstrumentsDb.cpp 2020/01/08 20:20:46 3704 +++ linuxsampler/trunk/src/db/InstrumentsDb.cpp 2020/01/08 20:26:53 3705 @@ -245,7 +245,7 @@ } } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); if (i == -1) throw Exception("Unkown DB directory: " + toEscapedPath(Dir)); @@ -282,7 +282,7 @@ return pDirs; } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } } @@ -391,7 +391,7 @@ } } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -428,7 +428,7 @@ ExecSql(sql.str(), toDbName(dirName)); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -451,7 +451,7 @@ RemoveDirectory(dirId); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -554,7 +554,7 @@ sqlite3_finalize(pStmt); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -591,7 +591,7 @@ ExecSql(sql.str(), dbName); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -636,7 +636,7 @@ ExecSql(sql.str()); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -680,7 +680,7 @@ DirectoryTreeWalk(Dir, &directoryCopier); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -701,7 +701,7 @@ ExecSql(sql.str(), Desc); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -850,7 +850,7 @@ } } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -895,7 +895,7 @@ return pInstrs; } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } } @@ -938,7 +938,7 @@ RemoveInstrument(instrId); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); FireInstrumentCountChanged(ParentDir); @@ -972,7 +972,7 @@ i = GetInstrumentInfo(id); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -1047,7 +1047,7 @@ ExecSql(sql.str(), toDbName(Name)); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); FireInstrumentNameChanged(Instr, toAbstractName(Name)); @@ -1090,7 +1090,7 @@ ExecSql(sql.str()); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); FireInstrumentCountChanged(ParentDir); @@ -1121,7 +1121,7 @@ CopyInstrument(instrId, instrName, dstId, Dst); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -1186,7 +1186,7 @@ ExecSql(sql.str(), Desc); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); FireInstrumentInfoChanged(Instr); @@ -1366,7 +1366,7 @@ else directoryFinder.ProcessDirectory(Dir, DirId); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -1386,7 +1386,7 @@ else instrumentFinder.ProcessDirectory(Dir, DirId); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction(); @@ -1408,7 +1408,7 @@ return result; } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } } @@ -1424,7 +1424,7 @@ ExecSql("UPDATE instruments SET instr_file=? WHERE instr_file=?", params); } catch (Exception e) { EndTransaction(); - throw e; + throw; // re-throw } EndTransaction();