Example #1
0
 IMoveRequestHandlerFactory& DicomServer::GetMoveRequestHandlerFactory() const
 {
   if (HasMoveRequestHandlerFactory())
   {
     return *moveRequestHandlerFactory_;
   }
   else
   {
     throw OrthancException(ErrorCode_NoCMoveHandler);
   }
 }
Example #2
0
 IMoveRequestHandlerFactory& DicomServer::GetMoveRequestHandlerFactory() const
 {
   if (HasMoveRequestHandlerFactory())
   {
     return *moveRequestHandlerFactory_;
   }
   else
   {
     throw OrthancException("No C-MOVE request handler factory");
   }
 }