*** empty log message ***

This commit is contained in:
gustavo 2000-01-26 17:48:24 +00:00
commit 472898871c
2 changed files with 5 additions and 5 deletions

View file

@ -59,8 +59,8 @@ public:
/** Gets a non-const reference to an operator, so that it can be changed,
modified or whatever
@param _id a previously assigned ID
@throw runtime_error if the ID does not exist*/
virtual const eoOp<EOT>& getOp( ID _id ) {
@throw runtime_error if the ID does not exist*/
virtual eoOp<EOT>& getOp( ID _id ) {
MMF::iterator i=begin();
ID j = 1;
while ( (i++!=end()) && (j++ != _id) );

View file

@ -17,7 +17,7 @@ void GetOutputParam(Parser & parser,
try {
parser.AddTitle("Separate parameter: the output file name");
_string = parser.getString("-O", "--OutputFile", "", "The output file name" );
} catch (UException & e) {
} catch (logic_error & e) {
cout << e.what() << endl;
parser.printHelp();
exit(1);
@ -34,7 +34,7 @@ void sub(Parser & parser) {
try {
parser.AddTitle("Private parameters of subroutine sub");
i = parser.getInt("-j", "--sint", "5", "private integer of subroutine" );
} catch (UException & e) {
} catch (logic_error & e) {
cout << e.what() << endl;
parser.printHelp();
exit(1);
@ -62,7 +62,7 @@ void getParams( Parser & parser,
_array = parser.getArray("-a", "--array", "a b", "an array enclosed within < >" );
_boolean = parser.getBool("-b","--bool", "a bool value" );
}
catch (UException & e)
catch (logic_error & e)
{
cout << e.what() << endl;
parser.printHelp();