[Ad-dev] [openAD] #265: Error message needs to be more verbose

OpenAD trac at mcs.anl.gov
Thu Dec 9 10:33:27 CST 2010


#265: Error message needs to be more verbose
---------------------------------+------------------------------------------
 Reporter:  snarayan             |       Owner:  utke
     Type:  defect               |      Status:  new 
 Priority:  minor                |   Milestone:      
Component:  Application - SCALE  |    Keywords:      
---------------------------------+------------------------------------------
 The error message in :

 In XAIFBOOSTER/system/src/SymbolShape.cpp , given below

 160   const SymbolShape::SymbolShape_E SymbolShape::offset(const
 SymbolShape::SymbolShape_E& aShape,
 161                                                        int offset) {
 162     if ((aShape+offset)<0 || (aShape+offset)>SEVEN_TENSOR)
 163       THROW_LOGICEXCEPTION_MACRO("SymbolShape::offset: no shape
 for inputs "
 164                                  << toString(aShape).c_str()
 165                                  << " and  offset="
 166                                  << offset);
 167     return (SymbolShape_E)(aShape+offset);
 168   }

 can be made more verbose to suggest that the symbol has not been created
 correctly with the right number of dimensions specified.

-- 
Ticket URL: <https://trac.mcs.anl.gov/projects/openAD/ticket/265>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list