comparison 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
comparison
equal deleted inserted replaced
1581:357c4bb15701 1582:bd1889029cbb
894 #error Please set MONGOOSE_USE_CALLBACKS 894 #error Please set MONGOOSE_USE_CALLBACKS
895 #endif 895 #endif
896 896
897 if (!pimpl_->context_) 897 if (!pimpl_->context_)
898 { 898 {
899 throw OrthancException("Unable to launch the Mongoose server"); 899 throw OrthancException(ErrorCode_HttpPortInUse);
900 } 900 }
901 } 901 }
902 } 902 }
903 903
904 void MongooseServer::Stop() 904 void MongooseServer::Stop()