src/GamIO/XWinFid.cc
/* These functions take care of any errors encountered when reading, writing,
   and setting parameters in Bruker acquisition parameter files.

        Input           FidPar  : XWinNMR acqusition parameters (this)
                        eidx    : Error index
                        pname   : Additional error message
                        noret   : Flag for linefeed (0=linefeed)
        Output          void    : An error message is output                 */
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition parameter files.


These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition parameter files .
void XWinFid::XWinFiderror(int eidx, int noret) const
  {
  string hdr("Bruker Fid/Serial File");
  switch(eidx)
    {
    case 20: GAMMAerror(hdr,"ASCII Mode Disallowed",     noret);break;	
    case 21: GAMMAerror(hdr,"The Type MUST Be Binary",   noret);break;	
    case 22: GAMMAerror(hdr,"Open For Input & Output!",  noret);break;	
    case 23: GAMMAerror(hdr,"Do ios::in Or ios::iout",   noret);break;	
    case 24: GAMMAerror(hdr,"Open At End Disallowed",    noret);break;	
    case 25: GAMMAerror(hdr,"Do Not Open With ios::ate", noret);break;	
    case 26: GAMMAerror(hdr,"Open For Append Disallowed",noret);break;	
    case 27: GAMMAerror(hdr,"Do Not Open With ios::app", noret);break;	
    case 28: GAMMAerror(hdr,"Attached File Stream Bad",  noret);break;	
    case 29: GAMMAerror(hdr,"Cannot Perform Any I/O",    noret);break;	
    case 30: GAMMAerror(hdr,"Can't Set Block Boundary?", noret);break;	
    case 31: GAMMAerror(hdr,"Can't Check Block Boundary",noret);break;	
    case 40: GAMMAerror(hdr,"Read Start Off Boundary",   noret);break;	
    case 41: GAMMAerror(hdr,"Problems Reading FID",      noret);break;	
    case 42: GAMMAerror(hdr,"Write Start Off Boundary",  noret);break;	
    case 43: GAMMAerror(hdr,"Problems Writing FID",      noret);break;	
    case 44: GAMMAerror(hdr,"Problems With File Size",   noret);break;	
    case 45: GAMMAerror(hdr,"1 FID Bigger Than File!",   noret);break;	
    case 46: GAMMAerror(hdr,"Block Size (TD) Too Big?",  noret);break;	
    default: GAMMAerror(hdr,eidx, noret); break;
    }
  }
void XWinFid :: XWinFiderror ( int eidx , int noret ) const { string hdr ( " " ) ; switch ( eidx ) { case 20 : GAMMAerror ( hdr , " " , noret ) ; break ; case 21 : GAMMAerror ( hdr , " " , noret ) ; break ; case 22 : GAMMAerror ( hdr , " " , noret ) ; break ; case 23 : GAMMAerror ( hdr , " " , noret ) ; break ; case 24 : GAMMAerror ( hdr , " " , noret ) ; break ; case 25 : GAMMAerror ( hdr , " " , noret ) ; break ; case 26 : GAMMAerror ( hdr , " " , noret ) ; break ; case 27 : GAMMAerror ( hdr , " " , noret ) ; break ; case 28 : GAMMAerror ( hdr , " " , noret ) ; break ; case 29 : GAMMAerror ( hdr , " " , noret ) ; break ; case 30 : GAMMAerror ( hdr , " " , noret ) ; break ; case 31 : GAMMAerror ( hdr , " " , noret ) ; break ; case 40 : GAMMAerror ( hdr , " " , noret ) ; break ; case 41 : GAMMAerror ( hdr , " " , noret ) ; break ; case 42 : GAMMAerror ( hdr , " " , noret ) ; break ; case 43 : GAMMAerror ( hdr , " " , noret ) ; break ; case 44 : GAMMAerror ( hdr , " " , noret ) ; break ; case 45 : GAMMAerror ( hdr , " " , noret ) ; break ; case 46 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition parameter files.
These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition parameter files .
//(20) //(21) //(22) //(23) //(24) //(25) //(26) //(27) //(28) //(29) //(30) //(31) //(40) //(41) //(42) //(43) //(44) //(45) //(46) // Usually Unknown Error  (-1)