improved error handling

This commit is contained in:
nemu
2008-10-02 05:44:02 +00:00
parent 6dbfb112ce
commit d3476df6b4
3 changed files with 46 additions and 34 deletions

View File

@ -582,6 +582,7 @@ int main(int argc, char *argv[])
break;
case PMUSR_MSR_SYNTAX_ERROR:
cout << endl << "**SYNTAX ERROR** in file " << argv[1] << ", full stop here." << endl << endl;
break;
default:
cout << endl << "**UNKOWN ERROR** when trying to read the msr-file" << endl << endl;
break;