Changeset 913 in Sophya for trunk/SophyaLib/BaseTools/pexceptions.h
- Timestamp:
- Apr 13, 2000, 5:58:41 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/pexceptions.h
r895 r913 17 17 string BuildLongExceptionMessage(const char * s, const char *file, int line); 18 18 19 //! Base exception class in Sophya. 20 /*! Ancestor for PError and PException 19 /*! \ingroup SysTools 20 \brief Base exception class in Sophya 21 22 Ancestor for PError and PException 21 23 It has a message, and an id to give more 22 24 information on the exception. … … 41 43 // PException 42 44 43 //! A PError is a serious logic error. Usually not caught... 45 /*! \ingroup SysTools 46 \brief A PError is a serious logic error. Usually not caught... */ 44 47 class PError : public PThrowable { 45 48 public: … … 47 50 }; 48 51 49 //! A PException is not as serious... Can be caught. 52 /*! \ingroup SysTools 53 \brief A PException is not as serious... Can be caught. */ 50 54 class PException : public PThrowable { 51 55 public: … … 60 64 // AssertionFailedError 61 65 62 //! Memory allocation failure 66 /*! \ingroup SysTools 67 \brief Memory allocation failure */ 63 68 class AllocationError : public PError { 64 69 public: … … 66 71 }; 67 72 68 //! Null pointer error 73 /*! \ingroup SysTools 74 \brief Null pointer error */ 69 75 class NullPtrError : public PError { 70 76 public: … … 73 79 74 80 75 //! Calling a forbidden method, trying a forbidden operation 81 /*! \ingroup SysTools 82 \brief Calling a forbidden method, trying a forbidden operation */ 76 83 class ForbiddenError : public PError { 77 84 public: … … 80 87 81 88 82 //! ASSERT macro failure. The message is the assertion... 89 /*! \ingroup SysTools 90 \brief ASSERT macro failure. The message is the assertion... */ 83 91 class AssertionFailedError : public PError { 84 92 public: … … 101 109 // CaughtSignalExc 102 110 103 //! Generic IO Exception. 111 /*! \ingroup SysTools 112 \brief Generic IO Exception */ 104 113 class IOExc : public PException { 105 114 public: … … 107 116 }; 108 117 109 //! Bad file format. 118 /*! \ingroup SysTools 119 \brief Bad file format */ 110 120 class FileFormatExc : public IOExc { 111 121 public: … … 113 123 }; 114 124 115 //! Size mismatch between objects. 125 /*! \ingroup SysTools 126 \brief Size mismatch between objects */ 116 127 class SzMismatchError : public PException { 117 128 public: … … 119 130 }; 120 131 121 //! Out of bounds for array, matrix, etc. 132 /*! \ingroup SysTools 133 \brief Out of bounds for array, matrix, etc */ 122 134 class RangeCheckError : public PException { 123 135 public: … … 125 137 }; 126 138 127 //! Invalid parameter to method/constructor... 139 /*! \ingroup SysTools 140 \brief Invalid parameter to method/constructor... */ 128 141 class ParmError : public PException { 129 142 public: … … 131 144 }; 132 145 133 //! Calling a non available / not implemented method 146 /*! \ingroup SysTools 147 \brief Calling a non available / not implemented method */ 134 148 class NotAvailableOperation : public PException { 135 149 public: … … 137 151 }; 138 152 139 //! Bad data type -> keep ? 153 /*! \ingroup SysTools 154 \brief Bad data type -> keep ? */ 140 155 class TypeMismatchExc : public PException { 141 156 public: … … 143 158 }; 144 159 145 //! Math operation exception 160 /*! \ingroup SysTools 161 \brief Math operation exception */ 146 162 class MathExc : public PException { 147 163 public: … … 149 165 }; 150 166 151 //! Singular matrix 167 /*! \ingroup SysTools 168 \brief Singular matrix */ 152 169 class SingMatrixExc : public MathExc { 153 170 public: … … 155 172 }; 156 173 157 //! Duplicate identifier during registration 174 /*! \ingroup SysTools 175 \brief Duplicate identifier during registration */ 158 176 class DuplicateIdExc : public PException { 159 177 public: … … 161 179 }; 162 180 163 //! Not found identifier 181 /*! \ingroup SysTools 182 \brief Not found identifier */ 164 183 class NotFoundExc : public PException { 165 184 public: … … 167 186 }; 168 187 169 //! Generated exception when processing a signal 188 /*! \ingroup SysTools 189 \brief Generated exception when processing a signal */ 170 190 class CaughtSignalExc : public PException { 171 191 public:
Note:
See TracChangeset
for help on using the changeset viewer.