00001 #ifndef DOMRangeException_HEADER_GUARD_
00002 #define DOMRangeException_HEADER_GUARD_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064 #include <xercesc/dom/DOMException.hpp>
00065
00066 XERCES_CPP_NAMESPACE_BEGIN
00067
00074 class DOMRangeException : public DOMException {
00075 public:
00076
00077
00078
00094 enum RangeExceptionCode {
00095 BAD_BOUNDARYPOINTS_ERR = 1,
00096 INVALID_NODE_TYPE_ERR = 2
00097 };
00099
00100 public:
00101
00102
00103
00110 DOMRangeException();
00111
00118 DOMRangeException(RangeExceptionCode code, const XMLCh* message);
00119
00125 DOMRangeException(const DOMRangeException &other);
00127
00128
00129
00130
00137 virtual ~DOMRangeException();
00139
00140 public:
00141
00142
00143
00152 RangeExceptionCode code;
00153
00155
00156 private:
00157
00158
00159
00160 DOMRangeException & operator = (const DOMRangeException &);
00161 };
00162
00163 XERCES_CPP_NAMESPACE_END
00164
00165 #endif
00166