KD SOAP  1.10.0
KDSoapFaultException.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8 **
9 ** Licensees holding valid commercial KD Soap licenses may use this file in
10 ** accordance with the KD Soap Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 
17 #ifndef KDSOAPFAULTEXCEPTION_H
18 #define KDSOAPFAULTEXCEPTION_H
19 
20 #include <QString>
21 #include "KDSoapValue.h"
22 
31 class KDSOAP_EXPORT KDSoapFaultException
32 {
33 public:
38  void deserialize(const KDSoapValue &mainValue);
39 
44  static const KDSoapValue &faultDetails(const KDSoapValue &faultValue);
45 
49  QString faultCode() const;
50 
55  void setFaultCode(const QString &faultCode);
56 
60  QString faultString() const;
61 
66  void setFaultString(const QString &faultString);
67 
71  QString faultActor() const;
72 
77  void setFaultActor(const QString &faultActor);
78 
84  KDSoapValue detailValue() const;
85 
90  void setDetailValue(const KDSoapValue &detailValue);
91 
96 
101 
109  KDSoapFaultException(const QString &faultCode, const QString &faultString, const QString &faultActor = QString());
110 
114  KDSoapFaultException &operator=(const KDSoapFaultException &other);
115 
120 
121 private:
122  class Private;
123  QSharedDataPointer<Private> d;
124 };
125 
126 #endif // KDSOAPFAULTEXCEPTION_H
Definition: KDSoapValue.h:69
Definition: KDSoapFaultException.h:31

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/