Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkHttpStatusCodeHandler.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkHttpStatusCodeHandler_h
14 #define QmitkHttpStatusCodeHandler_h
15 
16 #include <MitkXNATExports.h>
17 
18 #include <string>
19 
35 {
36 public:
53  static bool HandleErrorMessage(const char *_errorMsg);
54 
55 private:
58 };
59 
60 #endif
#define MITKXNAT_EXPORT
Utility class for handling HTTP and network error status codes from XNAT requests.
static bool HandleErrorMessage(const char *_errorMsg)
Parse an error message from an XNAT HTTP request and display a user-facing warning dialog.