ZDK
IExtendedError.h
1 #ifndef __IExtendedError__
2 #define __IExtendedError__
3 
4 #include "Types/SharedPointerTypes.h"
5 #include "Types/LayerType.h"
6 #include "Types/ProtocolType.h"
7 
8 namespace ZDK
9 {
10 
11 class IExtendedError : public virtual ZDK::IZHandle
12 {
13 public:
14  //# @abi(all) documentation
20  //# @abi(jni|obj_c) property
21  virtual int ID() const = 0;
22 
23  //# @abi(all) documentation
31  //# @abi(jni|obj_c) property
32  virtual int Q931Code() const = 0;
33 
34  //# @abi(all) documentation
42  //# @abi(jni|obj_c) property
43  virtual ZDK::ProtocolType Proto() const = 0;
44 
45  //# @abi(all) documentation
53  //# @abi(jni|obj_c) property
54  virtual ZDK::LayerType Layer() const = 0;
55 
56  //# @abi(all) documentation
64  //# @abi(jni|obj_c) property
65  virtual int LayerCode() const = 0;
66 
67  //# @abi(all) documentation
73  //# @abi(jni|obj_c) property
74  virtual ZDK::Shared::String Message() const = 0;
75 };
76 
77 } //namespace ZDK
78 
79 #endif //__IExtendedError__
virtual ZDK::Shared::String Message() const =0
Gets the extended error message.
virtual int ID() const =0
Gets extended error id.
virtual ZDK::ProtocolType Proto() const =0
Gets the extended error protocol type.
Definition: IZHandle.h:12
virtual int LayerCode() const =0
Gets the extended error layer code.
virtual int Q931Code() const =0
Gets Q.931 code.
Definition: IAccountConfig.h:10
Definition: IExtendedError.h:11
virtual ZDK::LayerType Layer() const =0
Gets the extended error layer type.