Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 1582:bd1889029cbb
encoding of exceptions
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 17:39:38 +0200 |
parents | f8aae45011c9 |
children | d73124f6b439 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Tue Aug 25 16:18:37 2015 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Tue Aug 25 17:39:38 2015 +0200 @@ -896,7 +896,7 @@ if (!pimpl_->context_) { - throw OrthancException("Unable to launch the Mongoose server"); + throw OrthancException(ErrorCode_HttpPortInUse); } } }