src/Basics/ParamSet.cc
/*      Input                   pset    : Parameter set (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
                                pname   : Added error message for output
        Output                  none    : Error message output
                                          Program execution stopped if fatal

   The following error messages use the defaults set in the Gutils package
 
                Case                          Error Message

                (0)                     Program Aborting.....
  		(1)			Problems With Input File Stream
    		(2)			Problems With Output File Stream
                default                 Unknown Error                        */


The following error messages use the defaults set in the Gutils package

Case                          Error Message

(0)                     Program Aborting
(1)                     Problems With Input File Stream
(2)                     Problems With Output File Stream
default                 Unknown Error
The following error messages use the defaults set in the Gutils package Case Error Message ( 0 ) Program Aborting ( 1 ) Problems With Input File Stream ( 2 ) Problems With Output File Stream default Unknown Error
void ParameterSet::Perror(int eidx, int noret) const
  {
  string hdr("Parameter Set");
  switch(eidx)
    {
    case 3: GAMMAerror(hdr, "Cannot Read Parameters From Input", noret);
            break;
    case 4: GAMMAerror(hdr, "Cannot Write Parameters To Output", noret);
            break;
    case 5: GAMMAerror(hdr, "Cannot Fill With Any Parameters",   noret);
            break;
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void ParameterSet :: Perror ( int eidx , int noret ) const { string hdr ( " " ) ; switch ( eidx ) { case 3 : GAMMAerror ( hdr , " " , noret ) ; break ; case 4 : GAMMAerror ( hdr , " " , noret ) ; break ; case 5 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                   pset    : Parameter set (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
pname   : Added error message for output
Output                  none    : Error message output
Program execution stopped if fatal
Input pset : Parameter set ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) pname : Added error message for output Output none : Error message output Program execution stopped if fatal
// (3) // (4) // (5) // Usually Unknown Error  (-1)