LOG4CPLUS_ERROR(logger,"Could not determine file type of "<<filename<<". Filename suggests "<<name<<" but transitions look like "<<transitions);
LOG4CPLUS_ERROR(logger,"Please fix your file and try again.");
throwstorm::exceptions::WrongFileFormatException()<<"Could not determine type of file "<<filename;
LOG4CPLUS_ERROR(logger,"Could not determine file type of "<<transitionSystemFile<<". Filename suggests "<<name<<" but transitions look like "<<transitions);LOG4CPLUS_ERROR(logger,"Please fix your file and try again.");
throwstorm::exceptions::WrongFileFormatException()<<"Could not determine type of file "<<transitionSystemFile;
LOG4CPLUS_WARN(logger,"Transition format in file "<<filename<<" of type "<<name<<" look like "<<transitions<<" transitions.");
LOG4CPLUS_WARN(logger,"Transition format in file "<<transitionSystemFile<<" of type "<<name<<" look like "<<transitions<<" transitions.");
LOG4CPLUS_WARN(logger,"We will use the parser for "<<name<<" and hope for the best!");
LOG4CPLUS_WARN(logger,"We will use the parser for "<<name<<" and hope for the best!");
this->type=name;
type=name;
}
}
elseif(hint==transitions){
elseif(hint==transitions){
LOG4CPLUS_WARN(logger,"File extension of "<<filename<<" suggests type "<<name<<" but the content seems to be "<<hint);
LOG4CPLUS_WARN(logger,"File extension of "<<transitionSystemFile<<" suggests type "<<name<<" but the content seems to be "<<hint);
LOG4CPLUS_WARN(logger,"We will use the parser for "<<hint<<" and hope for the best!");
LOG4CPLUS_WARN(logger,"We will use the parser for "<<hint<<" and hope for the best!");
this->type=hint;
type=hint;
}
}
elseif(name==transitions){
elseif(name==transitions){
LOG4CPLUS_WARN(logger,"File "<<filename<<" contains a hint that it is "<<hint<<" but filename and transition pattern suggests "<<name);
LOG4CPLUS_WARN(logger,"File "<<transitionSystemFile<<" contains a hint that it is "<<hint<<" but filename and transition pattern suggests "<<name);
LOG4CPLUS_WARN(logger,"We will use the parser for "<<name<<" and hope for the best!");
LOG4CPLUS_WARN(logger,"We will use the parser for "<<name<<" and hope for the best!");
this->type=name;
type=name;
}
}
else{
else{
LOG4CPLUS_WARN(logger,"File "<<filename<<" contains a hint that it is "<<hint<<" but filename suggests "<<name<<" and transition pattern suggests "<<transitions);
LOG4CPLUS_WARN(logger,"File "<<transitionSystemFile<<" contains a hint that it is "<<hint<<" but filename suggests "<<name<<" and transition pattern suggests "<<transitions);
LOG4CPLUS_WARN(logger,"We will stick to the hint, use the parser for "<<hint<<" and hope for the best!");
LOG4CPLUS_WARN(logger,"We will stick to the hint, use the parser for "<<hint<<" and hope for the best!");