00001 00002 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 #ifndef DOM_RangeException_HEADER_GUARD_
00065 #define DOM_RangeException_HEADER_GUARD_
00066
00067 #include <dom/DOM_DOMException.hpp>
00068
00084 class DOM_RangeException : public DOM_DOMException {
00085 public:
00087
00088 enum RangeExceptionCode {
00089 BAD_BOUNDARYPOINTS_ERR = 1,
00090 INVALID_NODE_TYPE_ERR = 2
00091 };
00092
00093 public:
00095
00100 DOM_RangeException();
00101
00108 DOM_RangeException(RangeExceptionCode code, const DOMString &message);
00109
00115 DOM_RangeException(const DOM_RangeException &other);
00116
00117
00119
00126 virtual ~DOM_RangeException();
00127
00128
00130
00135 RangeExceptionCode code;
00136
00137
00138
00139 };
00140
00141 #endif
00142