11 #ifndef IO_EXCEPTIONS_H_
12 #define IO_EXCEPTIONS_H_
14 #include "../interface/exceptions.h"
24 cerr <<
"ERROR OCCURS WHILE READING IO FILE " << strFileName <<
" : FILE DOES NOT EXIST" << endl;
36 cerr <<
"UNKNOWN HEADER IN FILE " << strFile <<
" : " << strHeader << endl;
37 cerr <<
"\t VALID HEADER FOR SIZE FILE IS \'atom__res_radius\' OR \'atom__resnumbc_radius_\'" << endl;
38 cerr <<
"\t VALID HEADER FOR CHARGE FILE IS \'atom__res_radius\' OR \'atom__resnumbc_radius_\'" << endl;
50 cerr <<
"THE FILE " << strFile <<
" IS NOT A DELPHI PDB FILE! " << endl;
51 cerr <<
"\t CHECK THE FILE TYPE! " << endl;
63 cerr <<
"ERROR OCCURS WHEN READING THE UNFORMATTED PDB FILE " << strFile << endl;
64 cerr <<
"\t CHECK THE FILE AND TRY AGAIN! " << endl;
76 cerr <<
"THE FORMAT ID " << iFormatID <<
" SPECIFIED IN THE MOD PDB FILE " << strFile <<
" IS NO LONG SUPPORTED." << endl;
77 cerr <<
"\t CURRENT SUPPORTED ID = 1, 4 FOR MOD PDB FILE" << endl;
89 cerr <<
"THE INPUT PDB FILE CONTAINS A LINE \"" << strLine <<
"\" WITH KEYWORD \"crgdst\" WHICH IS NO LONGER SUPPORTED " << endl;
90 cerr <<
"\t PLEASE UPDATE THE PDB FILE AND TRY AGAIN..." << endl;
102 cerr <<
"# OF ATOMS = 0 AND # OF OBJECTS = 0" << endl;
103 cerr <<
"\t EXITING DUE T NON-EXISTENCE OF ATOM FILE NOR OBJECT DATA" << endl;
115 cerr <<
"NO RADIUS RECORD FOUND FOR \"" << strLine <<
"\" " << endl;
128 cerr <<
"RADIUS OF HEAVEY ATOM IN \"" << strLine <<
"\" IS SET TO ZERO"<< endl;
140 cerr <<
"NO CHARGE RECORD FOUND FOR \"" << strLine <<
"\" (CHARGE IS SET = 0)" << endl;
150 CNonZeroNetCrg(
const string & strResidue,
const string & strResidueNum,
const delphi_real & fNetCharge)
152 cerr <<
"\"" << strResidue << strResidueNum <<
"\" HAS A NET CHARGE OF " << fNetCharge << endl;
164 cerr <<
"EMPTY ATOMS FOR MIDPOINT DETERMINATION IN FILE " << strFile <<
" (ASSUMING ZERO OFFSETS)" << endl;
176 cerr <<
"IN PARAMETER FILE, USER SPECIFIES TO READ PDB FILE IN MODIFIED FORMAT "
177 <<
"(CHARGE AND SIZE ARE READ FROM THE PDB FILE AS WELL) \n";
181 #endif // IO_EXCEPTIONS_H_
Definition: io_exceptions.h:84
Definition: io_exceptions.h:110
Definition: io_exceptions.h:45
Definition: io_exceptions.h:71
Definition: io_exceptions.h:135
Definition: io_exceptions.h:159
Definition: exceptions.h:41
Definition: exceptions.h:20
Definition: io_exceptions.h:123
Definition: io_exceptions.h:97
Definition: io_exceptions.h:19
Definition: io_exceptions.h:171
Definition: io_exceptions.h:147