src/Solids/Powder.cc
/* Err Ind.     Default Message            Err Ind.     Default Message
   -------- -----------------------------  -------- ---------------------------
      1     Problems With File pname          2     Cannot Read Parameter pname
      3     Invalid Use of Function pname
      4     Use Of Deprecated Funciton pname
      5     Please Use Class Member Funciton pname
   default  Unknown Error - pname                                           */
Err Ind.     Default Message            Err Ind.     Default Message

1     Problems With File pname          2     Cannot Read Parameter pname
3     Invalid Use of Function pname
4     Use Of Deprecated Funciton pname
5     Please Use Class Member Funciton pname
default  Unknown Error - pname
Err Ind . Default Message Err Ind . Default Message 1 Problems With File pname 2 Cannot Read Parameter pname 3 Invalid Use of Function pname 4 Use Of Deprecated Funciton pname 5 Please Use Class Member Funciton pname default Unknown Error - pname
void Powder::POWerror(int eidx, const string& pname, int noret) const 
  {
  string hdr("Powder");
  string msg;
  switch(eidx)
    {
    case  20: msg = string("Euler Angle Set Count Is ")  + pname; 	
              GAMMAerror(hdr, msg, noret); break;
    case  21: msg = string("Probabilty  Count Is ")  + pname; 		
              GAMMAerror(hdr, msg, noret); break;
//    case  21: msg = string("Can't Access Object ")     + pname; 	
    case 101: msg = string("Can't Find Parameters For ") + pname;	
              GAMMAerror(hdr, msg, noret); break;
    default:  GAMMAerror(hdr, eidx, pname, noret);         break;
    }
  }
void Powder :: POWerror ( int eidx , const string & pname , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 20 : msg = string ( " " ) + pname ; GAMMAerror ( hdr , msg , noret ) ; break ; case 21 : msg = string ( " " ) + pname ; GAMMAerror ( hdr , msg , noret ) ; break ; case 101 : msg = string ( " " ) + pname ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , pname , noret ) ; break ; } }
Err Ind.
Err Ind .
// (20) // (21) //    case  21: msg = string("Can't Access Object ")     + pname; 	// (21) //              GAMMAerror(hdr, msg, noret); break; //(101)