KD SOAP API Documentation  2.2
KDSoapFaultException.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap project.
4 **
5 ** SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDSOAPFAULTEXCEPTION_H
12 #define KDSOAPFAULTEXCEPTION_H
13 
14 #include "KDSoapValue.h"
15 #include <QString>
16 
26 {
27 public:
32  void deserialize(const KDSoapValue &mainValue);
33 
38  static const KDSoapValue &faultDetails(const KDSoapValue &faultValue);
39 
43  QString faultCode() const;
44 
49  void setFaultCode(const QString &faultCode);
50 
54  QString faultString() const;
55 
60  void setFaultString(const QString &faultString);
61 
65  QString faultActor() const;
66 
71  void setFaultActor(const QString &faultActor);
72 
78  KDSoapValue detailValue() const;
79 
84  void setDetailValue(const KDSoapValue &detailValue);
85 
90 
95 
103  KDSoapFaultException(const QString &faultCode, const QString &faultString, const QString &faultActor = QString());
104 
108  KDSoapFaultException &operator=(const KDSoapFaultException &other);
109 
114 
115 private:
116  class Private;
117  QSharedDataPointer<Private> d;
118 };
119 
120 #endif // KDSOAPFAULTEXCEPTION_H
#define KDSOAP_EXPORT
Definition: KDSoapGlobal.h:22

© 2010-2024 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/
Generated by doxygen 1.9.1