Mercurial > hg > orthanc
diff Core/SQLite/Transaction.cpp @ 50:a15e90e5d6fc
rename in code
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Sep 2012 15:50:12 +0200 |
parents | db4d996ea264 |
children | c996319e90bc |
line wrap: on
line diff
--- a/Core/SQLite/Transaction.cpp Wed Sep 05 15:38:08 2012 +0200 +++ b/Core/SQLite/Transaction.cpp Wed Sep 05 15:50:12 2012 +0200 @@ -1,5 +1,5 @@ /** - * Palantir - A Lightweight, RESTful DICOM Store + * Palanthir - A Lightweight, RESTful DICOM Store * Copyright (C) 2012 Medical Physics Department, CHU of Liege, * Belgium * @@ -36,7 +36,7 @@ #include "Transaction.h" -namespace Palantir +namespace Palanthir { namespace SQLite { @@ -58,13 +58,13 @@ { if (isOpen_) { - throw PalantirException("SQLite: Beginning a transaction twice!"); + throw PalanthirException("SQLite: Beginning a transaction twice!"); } isOpen_ = connection_.BeginTransaction(); if (!isOpen_) { - throw PalantirException("SQLite: Unable to create a transaction"); + throw PalanthirException("SQLite: Unable to create a transaction"); } } @@ -72,7 +72,7 @@ { if (!isOpen_) { - throw PalantirException("SQLite: Attempting to roll back a nonexistent transaction. " + throw PalanthirException("SQLite: Attempting to roll back a nonexistent transaction. " "Did you remember to call Begin()?"); } @@ -85,7 +85,7 @@ { if (!isOpen_) { - throw PalantirException("SQLite: Attempting to roll back a nonexistent transaction. " + throw PalanthirException("SQLite: Attempting to roll back a nonexistent transaction. " "Did you remember to call Begin()?"); } @@ -93,7 +93,7 @@ if (!connection_.CommitTransaction()) { - throw PalantirException("SQLite: Failure when committing the transaction"); + throw PalanthirException("SQLite: Failure when committing the transaction"); } } }