Mercurial > hg > orthanc
diff Core/SQLite/Statement.cpp @ 59:c996319e90bc orthanc-renaming
renaming in Core
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 16 Sep 2012 09:28:56 +0200 |
parents | a15e90e5d6fc |
children | 6212bf978584 |
line wrap: on
line diff
--- a/Core/SQLite/Statement.cpp Sun Sep 16 09:24:13 2012 +0200 +++ b/Core/SQLite/Statement.cpp Sun Sep 16 09:28:56 2012 +0200 @@ -1,5 +1,5 @@ /** - * Palanthir - A Lightweight, RESTful DICOM Store + * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012 Medical Physics Department, CHU of Liege, * Belgium * @@ -43,7 +43,7 @@ #include <sqlite3.h> #include <string.h> -namespace Palanthir +namespace Orthanc { namespace SQLite { @@ -52,7 +52,7 @@ bool succeeded = (err == SQLITE_OK || err == SQLITE_ROW || err == SQLITE_DONE); if (!succeeded) { - throw PalanthirException("SQLite error code " + boost::lexical_cast<std::string>(err)); + throw OrthancException("SQLite error code " + boost::lexical_cast<std::string>(err)); } return err; @@ -63,11 +63,11 @@ if (err == SQLITE_RANGE) { // Binding to a non-existent variable is evidence of a serious error. - throw PalanthirException("Bind value out of range"); + throw OrthancException("Bind value out of range"); } else if (err != SQLITE_OK) { - throw PalanthirException("SQLite error code " + boost::lexical_cast<std::string>(err)); + throw OrthancException("SQLite error code " + boost::lexical_cast<std::string>(err)); } }