int* endRange;
try {
endRange = decodeEnd(row);
- } catch (ReaderException e) {
+ } catch (ReaderException re) {
delete [] startRange;
- throw e;
+ throw re;
}
std::string tmpResult;
endPattern[0] = row->getSize() - endPattern[1];
endPattern[1] = row->getSize() - temp;
+ row->reverse();
return endPattern;
- }catch (Exception e) {
+ } catch (ReaderException re) {
row->reverse();
- throw e;
+ throw re;
}
}