src/HSLib/SpinSystem.cc
/* The following error messages use the defaults set in the Gutils package

                Case                          Error Message

		(0) 			Program Aborting.....
    		(3) 			Can't Construct From Parameter Set
		(4)			Cannot Construct From Input File
    		(5)			Cannot Write To Parameter File
    		(6)			Cannot Write To Output FileStream
    		(7)			Cannot Produce Any Output
    		default			Unknown Error                        */
The following error messages use the defaults set in the Gutils package
Case                          Error Message

(0)                     Program Aborting
(3)                     Can't Construct From Parameter Set
(4)                     Cannot Construct From Input File
(5)                     Cannot Write To Parameter File
(6)                     Cannot Write To Output FileStream
(7)                     Cannot Produce Any Output
default                 Unknown Error
The following error messages use the defaults set in the Gutils package Case Error Message ( 0 ) Program Aborting ( 3 ) Can ' t Construct From Parameter Set ( 4 ) Cannot Construct From Input File ( 5 ) Cannot Write To Parameter File ( 6 ) Cannot Write To Output FileStream ( 7 ) Cannot Produce Any Output default Unknown Error
void spin_system::SYSTerror(int eidx, int noret) const
  {
  std::string hdr("Isotropic Spin System");
  std::string msg;
  switch (eidx)
    {
    case 8:  msg = std::string("Unspecified Shifts Set to 0 Hz");
             GAMMAerror(hdr,msg,noret);  break; 
    case 9:  msg = std::string("Unspecified Hyperfine Couplings Set to 0 Gauss");
             GAMMAerror(hdr,msg,noret);  break; 
    case 10: GAMMAerror(hdr,"Accessed Spin Index Out of Range",noret);
             break;                              
    case 11: GAMMAerror(hdr,"Accessed Spin Pair Indices Out of Range",noret);
             break;                             
    case 12: GAMMAerror(hdr,"Requested Isotope NULL System", noret);
             break;                             
    case 13: GAMMAerror(hdr,"Cannot Determine # Spins In The System", noret);
             break;                             
    case 14: msg = std::string("Hyperfine Couplings Between Same Spin Forbidden!");
             GAMMAerror(hdr,msg,noret);  break; 
    case 15: msg = std::string("Scalar Coupling Between Same Spin Forbidden!");
             GAMMAerror(hdr,msg,noret);  break; 
    case 16: msg = std::string("J Coupling Between Nucleus & e- Forbidden! (Use A)");
             GAMMAerror(hdr,msg,noret);  break; 
    case 17: msg = std::string("Electron Shift Are NOT Defiled For Nuclei?!!");
             GAMMAerror(hdr,msg,noret);  break; 
    case 18: msg = std::string("Setting Electron Shift On a Nucleus Is Forbidden!");
             GAMMAerror(hdr,msg,noret);  break; 
    case 19: msg = std::string("Electron G Factors Are NOT Defined For Nuclei!??");
             GAMMAerror(hdr,msg,noret);  break; 
    case 20: msg = std::string("Electron Chemical Shifts Are Not Defined In GAMMA");
             GAMMAerror(hdr,msg,noret);  break;	
    case 21: msg = std::string("Unspecified G Factors Set @ Free Electron, 2.00234");
             GAMMAerror(hdr,msg,noret);  break; 
    case 30: msg = std::string("Nyquist Frequencies Are Not Defined For Electrons");
             GAMMAerror(hdr,msg,noret);  break; 
    case 33: msg = std::string("PPM Shifts Forbidden When No Field Strength Set");
             GAMMAerror(hdr,msg,noret);  break;		
    case 34: msg = std::string("Field Values Forbidden, No Base Frequency Set");
             GAMMAerror(hdr,msg,noret);  break;		
    case 35: msg = std::string("Warning - Unspecified J Couplings Set to 0 Hz");
             GAMMAerror(hdr,msg,noret);  break; 
    case 41: msg = std::string("Nuclei-Electron J Couplings Forbidden (Use A)");
             GAMMAerror(hdr,msg,noret);  break; 
    case 42: msg = std::string("No Hyperfine Coupling To Electron Pair! (Use J)");
             GAMMAerror(hdr,msg,noret);  break; 
    case 43: msg = std::string("No Hyperfine Coupling To Nucleus Pair! (Use J)");
             GAMMAerror(hdr,msg,noret);  break; 
    case 44: msg = std::string("Sorry, Cannot Offset Electron Shifts");
             GAMMAerror(hdr,msg,noret);  break; 
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void spin_system :: SYSTerror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 8 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 9 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 10 : GAMMAerror ( hdr , " " , noret ) ; break ; case 11 : GAMMAerror ( hdr , " " , noret ) ; break ; case 12 : GAMMAerror ( hdr , " " , noret ) ; break ; case 13 : GAMMAerror ( hdr , " " , noret ) ; break ; case 14 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 15 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 16 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 17 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 18 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 19 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 20 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 21 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 30 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 33 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 34 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 35 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 41 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 42 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 43 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 44 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
The following error messages use the defaults set in the Gutils package
Case                          Error Message
The following error messages use the defaults set in the Gutils package Case Error Message
// (8) // (9) //                        (10) //                         (11) //                         (12) //                         (13) //                         (14) //                         (15) //                         (16) //                         (17) //                         (18) //                         (19) //		           (20) //                         (21) //                         (30) //		   (33) //		   (34) //                         (35) //                         (41) //                         (42) //                         (43) //                         (44) // Usually Unknown Error  (-1)