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