Changeset 471 for library/bdm/base/user_info.cpp
- Timestamp:
- 08/05/09 00:01:58 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.cpp
r451 r471 176 176 throw UIException( "only TypeList elements could be indexed by integers", element ); 177 177 178 if ( element.getLength() <= index )179 throw UIException( "there is not any child with index " + index, element );180 181 178 return element[index]; 182 179 } … … 186 183 if ( !element.isGroup()) 187 184 throw UIException( "only TypeGroup elements could be indexed by strings", element ); 188 189 if ( !element.exists( name ) )190 throw UIException( "there is not any child named """ + name, element );191 185 192 186 return element[name];